Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Access VB stops

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

The Windows Phone Theme Colours is a tight, powerful, and well balanced palette. This tiny Access application makes it a snap to select and pick a value. And it doubles as an intro to implementing WithEvents, one of Access' hidden gems.
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…
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…

604 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