Click here to Skip to main content
14,099,174 members
Rate this:
 
Please Sign up or sign in to vote.
See more:
Hello Everybody: As I mentioned in my previous question, I´m working with an Access application and I´m getting an error message when I load the database.

The error number is 2950. It occurs when the macro Autoexec runs, and it tries to execute the code of a function (the first one in it).

I suppose (I never worked before with this platform) I could debug the flow of execution of the code of the function involved, following it step by step, as I normally does in Visual Basic or Excel, but I just can´t here. I think viewing the code internally maybe I could see the reason why autoexec fails and I can´t run the app from the source code. I guess I have an installation issue, but I need to see where it´s breaking and why.

Is it posible to follow step by step the flow of execution of an Access application starting at the autoexec macro ?

What I have tried:

I set a breakpoint in the first executable line of code in the first involved function, but the flow never gets to that point, the error occurs first, and I cannot see the option "Step by step" when executing the macro at the design view.

If I add a new autoexec macro (renaming the previously existent), it fails again when tries to call the first function on it, (another function name) in a similar pattern.

I have located the ubication of the functions. They´re in code modules.
Posted
Updated 18-Sep-17 11:08am

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

A quick Google for "Access database VBA 2950" comes up with this possibility[^].
   
Comments
Miguel Altamirano Morales 18-Sep-17 17:38pm
   
Thanks a lot again, Dave, tomorrow I´ll go to see my clients and I´ll try the option suggested in the page you tell me.

Such a nice person you are.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Cookies | Terms of Service
Web05 | 2.8.190518.1 | Last Updated 18 Sep 2017
Copyright © CodeProject, 1999-2019
All Rights Reserved.
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100