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 Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Date() in query result in error on other computer 1

Status
Not open for further replies.

WillemdeNie

Programmer
Sep 15, 2003
44
NL
The following query is used in my application:
UPDATE Tbl_box SET Tbl_box.Vrij = False, Tbl_box.[Vrij vanaf datum] = Null, Tbl_box.[Vrij t/m datum] = Null
WHERE (((Tbl_box.[Vrij t/m datum])<=Date()))
WITH OWNERACCESS OPTION;
It does not cause any problems.

If I put this application on a other computer this query results in an error message which sais this function is not available in the expression: (((Tbl_box.[Vrij t/m datum])<=Date()))
Both machines have Access 2002 (NL) installed and both machines have Windows XP Home SP 2 (Dutch)
 
Check the missing references:
while in VBE, menu Tools -> References ...

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top