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
Exchange 2007 Send As config :
Remote printing under terminal services w/ HP PSC 1350
Application.RunCommand acCmdSubformFormView Causes Runtime error 2501
Exchange 2007 : Stanby Continuous Replication Failover Procedure
How change background color of a text box based on date criteria
Public member 'String' on type 'String' not found
Directory Tree using Excel/VBA - Retrieve Author/Owner Details as well as file attributes..
Insert Script into Excel Workbooks as module1
DDE from MSAccess to MSExcel
How to TRULY Hide a Column from a DataGridView?