?
Solved

Access VB stops

Posted on 2013-05-21
5
Medium Priority
?
216 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 2000 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

10 Questions to Ask when Buying Backup Software

Choosing the right backup solution for your organization can be a daunting task. To make the selection process easier, ask solution providers these 10 key questions.

Question has a verified solution.

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

This article describes two methods for creating a combo box that can be used to add new items to the row source -- one for simple lookup tables, and one for a more complex row source where the new item needs data for several fields.
Access custom database properties are useful for storing miscellaneous bits of information in a format that persists through database closing and reopening.  This article shows how to create and use them.
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Suggested Courses

770 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