Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I have a simple query which looks a

Status
Not open for further replies.

Arob

Technical User
Jul 25, 2001
55
US
I have a simple query which looks at one particular date field within my table and gives me any records whose dates in this field are within 60 days of the current date. I am using access 97 with windows 2000. I copy the database over to a laptop which has just been converted to windows 2000 and the query gives me an error.
The sql for the query is
SELECT tblchurchsuggestions.*
FROM tblchurchsuggestions
WHERE (((tblchurchsuggestions.lastupdate)>Date()-60));


When running the query I get the following error.
Function isn't available in expressions in query expressions '(((tblchurchsuggestions lastupdate)>Date()-60))'

I think it has something to do with the object browser or reference library, but I cannot find the solution. Any help would be appreciated. Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top