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
2008 R2 Connection Broker Load Balancing
Tiff File Compression
White Screen in SCCM 2007 Remote Tools after update
Make minimized application window visible
How to rename a RDP session printer
How to populated a row of a subFORM, with too much collumns of values and no scrollbars
access 2003 parse data length undetermined
Access 2003: transfer spreadsheet is failing
excel formula to create a password list.
Option Group & Radio Buttons: Which Events To Use