Click here to Skip to main content
15,889,315 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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

A quick Google for "Access database VBA 2950" comes up with this possibility[^].
 
Share this answer
 
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)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900