irslan rafique
Registered User.
- Local time
- Today, 19:56
- Joined
- Oct 17, 2014
- Messages
- 26
Hi,
My report(Invoice) is based on a query.
I am filtering report(on a filed 'DriversName') using following command:
DoCmd.OpenReport "Invoice", acViewPreview, , "DriversName like '*" & txtname & "*'"(working fine)
Can anybody tell me please that how to use 3 criteria or two more filters in same command.
1st Criteria: DriversName (Text)
2nd Criteria: Month (Text)
3rd Criteria: Year (Number)
Your early and prompt help will be highly appreciated.
Thanks in advance
My report(Invoice) is based on a query.
I am filtering report(on a filed 'DriversName') using following command:
DoCmd.OpenReport "Invoice", acViewPreview, , "DriversName like '*" & txtname & "*'"(working fine)
Can anybody tell me please that how to use 3 criteria or two more filters in same command.
1st Criteria: DriversName (Text)
2nd Criteria: Month (Text)
3rd Criteria: Year (Number)
Your early and prompt help will be highly appreciated.
Thanks in advance