|
-
April 3rd, 2001, 05:47 PM
#1
ADO FILTERING / DATES
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
-
April 4th, 2001, 03:54 AM
#2
Re: ADO FILTERING / DATES
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
[email protected]
The best way to escape a problem, is to solve it.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|