Error msg "he expression you entered has a function name that can't find"

  • Thread starter Thread starter ibsmith
  • Start date Start date
I

ibsmith

Guest
I am getting the above message on a user machine after installing
runtime Access 2000 and my app database using MDT-2000. The error
occurrs when trying to open the app database, access 2000 is
terminated.

I beleieve that this is something to do with references, possible
MSACC9.OLB , although I am not entirely sure.

Any ideas on what the error may be , or on how to go about solving
this would be great.

cheers
 
Hey ibsmith,

one query in your database or a certain code asks for that function - or one of the events in a certain form is not set to nothing/EventProcedure, but instead a function name, which the system is not capable to find.
Check all functions in the modules or try to start the database bypassing the autoexec-macro and then analyzing what should happen.
In case you use a function not available with the runtime version, try to start the databse on any developper station with the option /runtime and fix the bug there.
One more suggestion: Test all menues (built-in menues are not available in runtime version).

Mic
 
Thanks for your input Mic,

I have run the app using /runtime and all worked OK.

I wrote a little routine whos purpose is to display all "References", and I made this routine the first thing that gets called thro autoexec. When I run the app now on dev machine with /runtime it works fine, but on users machine it fails with the above message. Its as though it can't compile the code.

Any more ideas ?
 

Users who are viewing this thread

Back
Top Bottom