tmurray22
asked on
Query all End-Dates 2 days from now
I would like to setup a query for my access database that will return all records
that have an EndDate 2 days from the current date.
Thanks
tmurray22
that have an EndDate 2 days from the current date.
Thanks
tmurray22
Sorry, access, not sql srever:
sqlString = "SELECT * FROM yourtable WHERE datefield = #" & Date + 2 & "#;"
S
sqlString = "SELECT * FROM yourtable WHERE datefield = #" & Date + 2 & "#;"
S
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Shuali, I got an error saying characters at end of sql statement. TitoBobs worked fine.
I now have another question but will post separately for more points.
Thanks
tmurray22
I now have another question but will post separately for more points.
Thanks
tmurray22
S