Click to See Complete Forum and Search --> : ADO FILTERING / DATES


DLARLICK
April 3rd, 2001, 05:47 PM
I am trying to filter an ADO recordset.

I am using something like

rsSomething.Filter = "StartDate = " & _
format(dtStartDate, "mm/dd/yyyy")




This works except that nulls do not want to
cooperate.

Please let me know if you know the correct syntax
for using date comparisons / nulls in the filter
method.

Thanks Everyone
-David

Cakkie
April 4th, 2001, 03:54 AM
This is because null is not the date specified. if you want to select all the null dates, use this

rsSomething.Filter = "StartDate is null"




Tom Cannaerts
slisse@planetinternet.be

The best way to escape a problem, is to solve it.