Format current date

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is there anything wrong with this script. I'm using it in a query.

CDate: Format(Date(),"mmmyy")

I keep getting the following error msg.

Error msg: Wrong number of arguments.

Thanks
 
I believe that "CDATE" is the name of a function that is available in
Access. My guess is that you are confusing Access by using "CDATE" as a
field name.
 
CDate is a VBA reserved word.

Change it to something like;-

CaDate: Format(Date(),"mmmyy")
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top