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

Problems with Date() and Time()

Status
Not open for further replies.

hays

Technical User
May 3, 2001
9
CA
Hi

I've been trying to fix a co-worker's database. The original problem was an absense of dll files on his new computer but I *think* that I have set up the necessary ones.

A query of his is simply:

UPDATE
DISTINCTROW Last_Import
SET Last_Import.Import_ID = Date() & " " & Time();


and an error is showing which is:

Function isn't available in expressions in query expression 'Date() & " " & Time()'

What am I missing? Thanks in advance.



 
Try this:

UPDATE Last_Import SET Import_ID = Now();


Jim Lunde
compugeeks@hotmail.com
Custom Application Development
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top