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
criteria in dlookup
Cannot login to Windows 2000 Server from Windows 7 Pro
Linq Distinct
event IPC remoting proxy channel sink
Dr. Watson Dump File
Access Date Formats: USA to European
How can I setup a simple "HelloWorld" WCF service using SSL certificate and a custom username/password
LaCie 1TB HD will not show up in My Computer
Tray 900 Unable to Set Tray Icon error. How do I clear it when Windows XP Pro starts?
VB.Net assign a class to each tab control page