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
Upgrading Server 2008 Evaluation Version to Fully Licensed
VB.net opening text file into DataGridView
OCS - Exchange install order?
SBS 2008 Console feature is not setup correctly - Unable to create users -
transfer Access 2003 using VBA to Access 2007 on another computer
SQL Query to find number of customers with X bookings
Frontpage 2003 Browse button
"Preparing to Configure Windows"
Block all but one website in Internet Explorer 8 using Group Policy
E00 Log files missing Help needed.