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
Macro not found error
button width: changed from IE6 to IE7 and now button length is very large
Populate Table from Multiple Calculated Field on a Form in Access
Exchange 2007 que
Prompted for Remote.Domain.com password in Outlook 2007 small business
Problem Setting Up Exchange In Iphone
connecting to Oracle 9i from PHP using Oracle instant client
How to add data to wpf combobox from mysql database?
Merge Access Databases
Side by Side Error : Adobe Form Designer.exe