G
Guest
Hi,
pls help me with teh following problem
i have written a pice of code, how shuld i define stQueryAuslauf if the
variabe should present the output of an query (eiter there is any or none)?
Dim stQueryAuslauf as Variant
....
If lstEinkauf.Selected(12) Then
If stQueryAuslauf = 0 Then
If MsgBox("Text?", vbYesNo) = vbYes Then
DoCmd.OpenForm ("AuslaufArt_1")
End If
Else
DoCmd.OpenForm ("AuslaufArt_2")
End If
End If
Thanks
pls help me with teh following problem
i have written a pice of code, how shuld i define stQueryAuslauf if the
variabe should present the output of an query (eiter there is any or none)?
Dim stQueryAuslauf as Variant
....
If lstEinkauf.Selected(12) Then
If stQueryAuslauf = 0 Then
If MsgBox("Text?", vbYesNo) = vbYes Then
DoCmd.OpenForm ("AuslaufArt_1")
End If
Else
DoCmd.OpenForm ("AuslaufArt_2")
End If
End If
Thanks