John said:
I meant "Format". I looked up your solution but the reference is not
"missing".
I'm trying to use the the function to get fiscal week from a date
Format([Date],"ww",1,1).
I'm getting this error message "Undefined function "Format" in
expression"
The preferences are pointing to the MSACC.OLB file.
The function works fine in all previous versions of Access.
John said:
Why is the Fomat function not supported in Access 2003?
Sometimes no reference is recognized as MISSING, but one is broken
nonetheless. Do what the article suggests: pick a reference from among
the ones that are currently selected, note it down, uncheck it, close
the dialog, open the References dialog again, find that reference (which
will have moved), and select it again. Then close the dialog and see if
the problem has gone away.
If that doesn't fix it, please post back with more of the context in
which you are using the expression -- controlsource, calculated field,
VBA code, etc. I don't see anything wrong with your expression as you
posted it -- except that "Date" used as anything but the built-in Date()
function can confuse Access -- but there may be something I've
overlooked.