UCase( ) is a VBA function. It's likely that your database application is
missing a library Reference. Open the VB Editor and select the Tools
menu -> References... to open the References dialog window. You will
probably see one of the library names listed, preceded by the word "MISSING:
" to indicate that Access cannot find this file.
If you find that any of the References are missing, note the name of the
file and its location, then uncheck this Reference, then close the
"References" dialog window. Open the "References" dialog window again and
add the Reference from the list (or browse to it). When you are finished,
close the "References" dialog window and compile the code (Debug menu ->
Compile <DatabaseName>).
If you don't find any of the References marked as missing, then attempt to
compile the code first, then open the "References" dialog window to follow
the steps above. If that doesn't work, then add a new reference (any one,
just note which one so that you can remove it later), compile the code, and
then remove the extra reference that you just added. The "MISSING: "
reference should reveal itself by then.
HTH.
Gunny
See
http://www.QBuilt.com for all your database needs.
See
http://www.Access.QBuilt.com for Microsoft Access tips and tutorials.
Blog:
http://DataDevilDog.BlogSpot.com
http://www.Access.QBuilt.com/html/expert_contributors2.html for contact
info.