B
bw
All of a sudden, the following procedure doesn't work anymore, and I can't
figure out why.
The Filter is NOT applied, and the MsgBox displays the wrong Hotel.
Private Sub Form_Open(Cancel As Integer)
DoCmd.ApplyFilter , "HotelID = 30"
MsgBox Hotel
End Sub
Can anyone give me some hints as to what may be the problem?
Thanks,
Bernie
figure out why.
The Filter is NOT applied, and the MsgBox displays the wrong Hotel.
Private Sub Form_Open(Cancel As Integer)
DoCmd.ApplyFilter , "HotelID = 30"
MsgBox Hotel
End Sub
Can anyone give me some hints as to what may be the problem?
Thanks,
Bernie