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
The COM+ Event System detected a bad return code during its internal processing
Confused on the Windows 7 Virtual PC
How do I disable the ICS DHCP server?
Can you recover a lost Administrator password?
Popup window inside update panel
error on executing an On Enter event
how to add two Dataset...
Windows XP SP2 Automatic Updates Service Will Not Start
SBS 2008/Exchange 2007 broken Autodiscover
Merge InfoPath Sections Containing Check Boxes