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 use the icons in the Office2007IconsGallery
Software Restriction Policy for XP GPMC
Setting up Server 2008 in a branch office with SBS 2008
Calling DLL function in release mode from exe in debug mode
Is there any good bluetooth software that keeps all bluetooth devices listed and could easily click and transfer.
Windows Explorer Sort Order persistently reversed
t-sql if statement containing two requirements doesn't work
What is equivalent to vbmodal in vb.net
how multi threading works in sql 2005?
MS Access - How do I show and hide Full Menus by VBA?