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
VFP code to make minimized app blink in taskbar?
Use of Cards.dll in VB.NET
Does csv file support arabic characters ?
Formatted Crystal Report
Learning Active Directory
You do not have exclusive access to the database at this time. If you proceed to make changes, you may not be able to save them later.
AutoDial from Access without Getting the AutoDial Window
Macro running very slow
TPMAuth.exe error at startup
windows server 2008 unattended install