Solved

Simple Query Wizard causes ON GOT FOCUS error message

Posted on 2003-12-02
6
334 Views
Last Modified: 2008-02-01
When I create a new database, and use the simple query wizard a few times, an error begins to occur.  Here are the details.

As soon as I attempt to select the table or query from the pull down box in the simple query wizard, I get this error message:

"The expression On Got Focus you entered as the event property setting produced the following error: The text you entered isn't an item in the list."

At this point the mouse cursor turns to a rotating hourglass and will continue to be an hourglass until I close the database and re-open it.
However, if I don't close the database, the application works just fine....except for the darn rotating hourglass is a bit difficult to work with.

If I do close the database, I have the same problem again the next time I try to use the wizard.

Any help?
0
Comment
Question by:grillmann
[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
6 Comments
 
LVL 39

Expert Comment

by:stevbe
ID: 9859567
have you Repaired/Compact the database? what version of access?

steve
0
 

Expert Comment

by:tdkeller
ID: 9860243
does the database have any forms in it?  You may want to check the VBA Editor to see if any code is running when you open the database.  One of your forms probably has a procedure connected to its OnGotFocus event.

If you find one, try commenting it out in the code by putting a single quote ( ' ) in front of the line.  Save the form and compact and repair the database and reopen it.  Then try the query wizard.

Tina
0
 
LVL 1

Expert Comment

by:tcafini
ID: 9861527
And in yoou direct windows write:

  docmd.Hourglass False

TC
0
The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

 

Author Comment

by:grillmann
ID: 9874807
Access version 2002.

Repaired, compacted....no different.

No forms in the database.  Just tables and queries at the moment.

This is not a new problem.  It happens with all my databases.
0
 
LVL 39

Accepted Solution

by:
stevbe earned 500 total points
ID: 9875839
At this point I would suggest that you try re-installing Access.

Steve
0
 
LVL 39

Expert Comment

by:stevbe
ID: 10076066
If re-installing Access fixed the problem then why the C grade, if it did not and you found another answer hat was it and you/or you can post a request in Community support to have the question closed without points being awarded.

Steve
0

Featured Post

Technology Partners: 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

Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
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…
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

726 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