Microsoft
Software
Hardware
Network
Question : Access / SQL / VBA / filter records on form according to a date field
hello,
i'm using VBA code to define a string that uses me to define a form's filter property.
one of the form's underlying fields is "DueDate" (of type Date/Time).
i understand i need to write an SQL WHERE clause to apply the filter (without the 'WHERE').
what is the syntax to say:
show me only records where [DueDate] <= Today's date?
show me only records where [DueDate] > Today's date?
thanks :)
Answer : Access / SQL / VBA / filter records on form according to a date field
me.filter = "[DueDate] <= Date()"
me.filteron = true
me.filter = "[DueDate] > Date()"
me.filteron = true
Random Solutions
Deploying SP3 for XP via WSUS 2.0
Need MS Access flavor SQL statement
SSRS Parameter error
User and Group Permissions - "<unknown>"
Downloading a x64 hotfix onto a x86 computer
recovering *Contacts* from an old .OST file???
Feed query results from one form to another
Excel macro needed to find existing text and replace with new text
should only be 3 records returning 8 in query
Crash when using VLOOKUP in MS-Excel