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
How to enter the Product Key in MS Exchange 2010
How do I change the content of the variable is the variable value is a string plus Numbers?
Proper syntax?
Extract Birthdays between now and 30 days from today
Vista Backup error message 0x8007002
Load Partial XML Into Dataset
SBSmonitoring.mdf too large
Hyperlinked InfoPath Form within SharePoint
500 points: In SSIS, how to pass parameters into Data Flow Task
VFP dynamic inputmask