J
John Smith
Hi!
I'm always getting an error message when I trie to refresh a lstBox on a
Form from a subform...
Here's my code:
Private Sub Form_AfterUpdate()
Dim str As String
str = "SELECT Bloc_Temp_Expedition.NoShip, " & _
"Format(Sum(Bloc_Temp_Expedition.Volume),'0.00') AS SommeDeVolume, " &
_
"Format(Sum(Bloc_Temp_Expedition.Poids),'0.00') AS SommeDePoids " & _
"From Bloc_Temp_Expedition " & _
"GROUP BY Bloc_Temp_Expedition.NoShip " & _
"HAVING Bloc_Temp_Expedition.NoShip<>0"
Forms!Expedition_DemandeBloc_Liste!LstSommaire.Refresh
End Sub
Any idea what's the problem?
I'm always getting an error message when I trie to refresh a lstBox on a
Form from a subform...
Here's my code:
Private Sub Form_AfterUpdate()
Dim str As String
str = "SELECT Bloc_Temp_Expedition.NoShip, " & _
"Format(Sum(Bloc_Temp_Expedition.Volume),'0.00') AS SommeDeVolume, " &
_
"Format(Sum(Bloc_Temp_Expedition.Poids),'0.00') AS SommeDePoids " & _
"From Bloc_Temp_Expedition " & _
"GROUP BY Bloc_Temp_Expedition.NoShip " & _
"HAVING Bloc_Temp_Expedition.NoShip<>0"
Forms!Expedition_DemandeBloc_Liste!LstSommaire.Refresh
End Sub
Any idea what's the problem?