?
Solved

Microsoft Access 2003

Posted on 2013-01-22
9
Medium Priority
?
387 Views
Last Modified: 2013-01-23
I have an unusual problem -- when a client opens their application and migrates to a different menu -- it opens to a VBA window and breaks on a line but is not erroring out. I can step on from the line and the rest of the code runs fine. Once this happens, the client can navigate to all menus with no problem.

I have cleared all break-points and compacted and repaired the application and it persists.
0
Comment
Question by:Ei0914
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
9 Comments
 
LVL 75
ID: 38807168
I've seen this happen occasionally.
Almost always cleared by rebooting the system.

mx
0
 
LVL 10

Expert Comment

by:Anthony Berenguel
ID: 38807179
mx, do you know what causes this behavior?
0
 
LVL 66

Accepted Solution

by:
Jim Horn earned 668 total points
ID: 38807191
I've had this happen a couple of times, and I vaguely remember it being from stop/breakpoints that were once there, but removed by the developer, but for some reason Access believes they are still there.  I was able to resolve this by deleting the lines in the area.

How it worked or why it happens in the first place?  No idea.

btw, 'Microsoft Access 2003' as a subject line doesn't work real well, as it doesn't describe your question.  'VBA breaks without a stop or breakpoint' would be better.
0
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 

Author Comment

by:Ei0914
ID: 38807208
jimhorn -- you're absolutely right. Thanks for the reminder.
0
 
LVL 75
ID: 38807231
"mx, do you know what causes this behavior?"

Well ... sort of.  Something literally gets 'stuck'.  Maybe a previous break point or error line.
It maybe happens to me 1x/year if that.
0
 
LVL 120

Assisted Solution

by:Rey Obrero (Capricorn1)
Rey Obrero (Capricorn1) earned 668 total points
ID: 38807404
try decompiling your db, then compile, compact and repair

see this link

http://www.granite.ab.ca/access/decompile.htm
0
 
LVL 10

Assisted Solution

by:Luke Chung
Luke Chung earned 664 total points
ID: 38809790
It could be the Error Trapping setting on that machine. Error Trapping is set at the machine level, not the application, so you need to make sure you set it properly when your application starts. Are you raising errors in your classes?

Anyway, this is discussed in my paper Error Handling and Debugging Tips and Techniques for Microsoft Access, VBA, and Visual Basic 6 (VB6) which was also published on MSDN:
http://www.fmsinc.com/tpapers/vbacode/Debug.asp#BasicErrorHandling

It's part of our Microsoft Access Developer Help Center: http://www.fmsinc.com/MicrosoftAccess/developer/index.html

Hope this helps.
0
 

Author Closing Comment

by:Ei0914
ID: 38810299
Tried all of the above and wound up creating a new application, yanking everything in and got rid of it that way... I do believe that all of the above could and should have fixed it.

Those nasty little Microsoft gremlins can be a pain in the a@@.

Thanks again Experts!

Best, Eileen
0
 
LVL 75
ID: 38810836
"Tried all of the above and wound up creating a new application,"
Did you try rebooting your system as I suggested?
I've never seen that not work ?

Also, it appears that you did not really use any of the solutions posted ...?

mx
0

Featured Post

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Traditionally, the method to display pictures in Access forms and reports is to first download them from URLs to a folder, record the path in a table and then let the form or report pull the pictures from that folder. But why not let Windows retr…
If you need a simple but flexible process for maintaining an audit trail of who created, edited, or deleted data from a table, or multiple tables, and you can do all of your work from within a form, this simple Audit Log will work for you.
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

718 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question