Format() function in Access 2003

R

rlkski

I have a date entry field in a master table set to date/time short date
I use the function Format$() to convert that date to various other formats
such as Month:Format([date],"mmmm",0,0) and it typically returns the date
item as a month
eg. 3/6/09 translates to March

When I open the database on another computer running access 2003 I get an
error message on any query using this format function "undefined format
function Format$ in expression.

even when I pair down the expression to Format([date]),"mmmm") it still fails

why does the query work on one computer and not another?
 
S

Stefan Hoffmann

hi,
When I open the database on another computer running access 2003 I get an
error message on any query using this format function "undefined format
function Format$ in expression.
even when I pair down the expression to Format([date]),"mmmm") it still fails
why does the query work on one computer and not another?
This indicates normally a reference problem. Open the database on the
failing computer, go to the VBA IDE and check the references in the Tool
menu.


mfG
--> stefan <--
 
R

rlkski

I'm not clear on where to open the VBA IDE and check refernces, could you
guide me

also,

why does the Date() function in a query criteria fail the same way?

Stefan Hoffmann said:
hi,
When I open the database on another computer running access 2003 I get an
error message on any query using this format function "undefined format
function Format$ in expression.
even when I pair down the expression to Format([date]),"mmmm") it still fails
why does the query work on one computer and not another?
This indicates normally a reference problem. Open the database on the
failing computer, go to the VBA IDE and check the references in the Tool
menu.


mfG
--> stefan <--
 

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

Top