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
Turn off Access 2007 Current Version Check
MS Access Powerpoint VBA
Installing Windows 98 on a Dell Inspiron 1150 laptop freezes
Error 1332: No mapping between account names
Extracting data from AS400 into text format -- Date
vba code to show a message when no records exist when a form is opened
Access 2007 RunTime - "The command or action 'Find' isn't available now."
How to use Decimal Data Type in VBA code
WSUS on Windows 2003 R2 Standard, Does the Report Viewer 2008 Work on this.
Admin account - Windows servers - notification when accessed