Microsoft
Software
Hardware
Network
Question : using three different where conditions to filter form
i need to filter a form based on 3 conditions...
i can get them to work in 2 different parts but not together... please advise.
my first filter is :
DoCmd.OpenForm "joblist", , , "[user] =" & Me.UserList
2nd filter is :
DoCmd.OpenForm "joblist", , , "[completedate] >= #" & Me.CompleteDateFrom & "# And [completedate] <= #" & Me.CompleteDateTo & "#"
Can anyone tell me how to get these in the same line. everytime i try i get Type Mismatch
Thanks
Wayne
Answer : using three different where conditions to filter form
Did you try:
DoCmd.OpenForm "joblist", , , "[user] =" & Me.UserList & " And [completedate] >= Me.CompleteDateFrom And [completedate] <= Me.CompleteDateTo
especially if those form controls are formatted as Date.
Random Solutions
Enter data in a MSFlexgrid control
Windows 7 Printer Driver Issues With HP LJ 1320 Series
Email Observation
Using A Variable In VBA SELECT Statement
Batch File to dump list of Hostnames to IP Addresses
Converting form MSSQL 2000 to MSSQL 2005
Adding a keyboard shortcut to a WPF MenuItem
Modal Window postback opens new windows instead of posting to itself!
recycle bin err
What possible steps can you use to debug why outbound SMTP email messages are not reaching intended receipients?