Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

BUG? Hidden Database window appears on errors...

Status
Not open for further replies.

TinaS

Programmer
Sep 18, 2002
35
US
Hey all,

I am getting very frustrated. I have hidden the database window, disabled bypass keys, done everything I can think of to get the database window to hide. It hides and stays hidden just FINE until any kind of error occurs. Even though the errors are handled, the fact that the error occurs apparently causes the database window to reappear.

Is this a bug? I've developed in access in the past, and when the window was hidden it stayed hidden. I've never had it just pop up on its own before. Not sure WHY it's happening.

On a side note, I am developing this as an access2000 Database but using 2003 - not sure if this is causing a problem.

Please provide advice. It HAS been awhile since I developed an access application - so maybe I am missing something. THANK YOU!!

Tina
 
found a work around:

Select any object in the database window and hide the DB window from there:

DoCmd.SelectObject acForm,"MyForm",True
DoCmd.RunCommand acCmdWindowHide

This takes care of the problem in a slightly messy way - the database window still flashes as it displays for that split second before being hidden again - I just wish I knew why it was doing this and could make it NOT happen, rather than clean up when it does... sigh...

thanks!

Tina
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top