P
Paul B.
I have a form that I need to filter based on two fields on different tables.
I need to filter [VehicleAssignment] from the tblVehicleInfo and
[CurrentDisposition] from the tblVehicles.
I currently have the following code:
DoCmd.OpenForm stDocName, , , "[VehicleAssignment] = " & "'T' AND _
[CurrentDisposition] = " & "'Available'"
When I click the button, a popup window ask for the CurrentDisposition, even
if I type one in, it does not filter.
The form is bound to the tblVehicleInfo
Thanks in advance
I need to filter [VehicleAssignment] from the tblVehicleInfo and
[CurrentDisposition] from the tblVehicles.
I currently have the following code:
DoCmd.OpenForm stDocName, , , "[VehicleAssignment] = " & "'T' AND _
[CurrentDisposition] = " & "'Available'"
When I click the button, a popup window ask for the CurrentDisposition, even
if I type one in, it does not filter.
The form is bound to the tblVehicleInfo
Thanks in advance