Solved

Access VB stops

Posted on 2013-05-21
5
214 Views
Last Modified: 2013-05-21
We have an Access Database that has been in Production for years.

All of a sudden this has started happening:

When you first open the database and run a Verify button that has code, it puts the users into the VB window with the line highlighted.  However, there are no break points or stop statements.

The user hits the Run button on VB, and it will run.  It never happens again that day day.

It happens to every user.

Why is it doing this???  It is very annoying for our users.

Thanks for any guidance
0
Comment
Question by:sharpapproach
[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
5 Comments
 
LVL 40

Accepted Solution

by:
als315 earned 500 total points
ID: 39184820
Sometimes when you close DB with breakpoint, it is saved, but "hidden". I think it is bug in Access. You can Open DB, set breakpoint to this line, run code, remove breakpoint from this line, continue execution, close DB. Next time it will work without stops.
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 39185148
Without a sample of the code, this is difficult to troubleshoot...
Can you post the code, and a screenshot of the VB error?

The usual things to try:
Run the compact and Repair utility
Create a new database and import all the objects
Decompile the database (http://www.fmsinc.com/microsoftaccess/performance/decompile.asp)
Make sure all the Updates and service packs are installed for Office and windows...

<All of a sudden this has started happening:>
Meaning absolutely nothing changed? (new OS, New office version, ...ect)

Is this for all users?
Is this for all databases?

JeffCoachman
0
 
LVL 75
ID: 39185186
You can reboot and that should fix it ... I've yet to see a case where it  did not.

mx
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 39185248
Obviously try MX's post first...
0
 

Author Closing Comment

by:sharpapproach
ID: 39185686
Fixed it! Thanks!  Must have been hidden
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…

734 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