Hi, Scott.
I converted an Access 97 database to Access 2003 and get an error that
there
is an "Undefined Function 'Mid' in Expression".
You're most likely missing a library reference after the conversion. Open
the VB Editor and open the References dialog window by selecting the
Tools -> References menu. Remove any "MISSING:" References and then add the
same named References with the correct paths. Close the References dialog
window and attempt to recompile by selecting the Debug menu -> Compile
<DatabaseName>. Fix any errors, then attempt to recompile the VBA code
repeatedly until the code compiles without errors. Once it compiles
without errors, your References Collection should be complete.
If you don't see any "MISSING:" References listed, then add another library
reference (any one that isn't already listed), close the References dialog
window and attempt to recompile, then open the References dialog window
again and remove the library reference you just added. Close the References
dialog window and attempt to recompile again.
HTH.
Gunny
See
http://www.QBuilt.com for all your database needs.
See
http://www.Access.QBuilt.com for Microsoft Access tips and tutorials.
Blogs:
www.DataDevilDog.BlogSpot.com,
www.DatabaseTips.BlogSpot.com
http://www.Access.QBuilt.com/html/expert_contributors2.html for contact
info.