Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
|
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 30th, 2010, 01:40 PM
Authorized User
 
Join Date: Mar 2010
Posts: 10
Thanks: 1
Thanked 0 Times in 0 Posts
Default Open form hides Navigation pane - why?

in Access 2007, i am opening a form from a click on a button control - OnClick event.

the code supporting this is from an older Access 200 VBA module and it does the normal DoCmd.OpenForm command:

Code:
DoCmd.OpenForm stDocName, , , stLinkCriteria
When this gets issued, the Navigation Pane (tables/forms/etc...) collapses.
If i just try to open the form itself, same thing - Navi pane collapses.

I do the same operation using the Access 2007 method with embedded macro - same thing. NOTHING in OnLoad event.

I have another form that does the same thing - 2 forms out of 12+ forms in my app.

What is up with these two forms???

Last edited by Disgruntled; April 30th, 2010 at 04:50 PM.. Reason: more info
 
Old May 14th, 2010, 10:43 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,151
Thanks: 2
Thanked 14 Times in 14 Posts
Send a message via ICQ to SerranoG Send a message via AIM to SerranoG
Default

Given that I don't know the "official names" of everything in 2007 products (they're still relatively new to me), I'm not sure what you mean by "Navigation Pane" nor what "it collapses" means to you.

By "trying to open the form itself," I assume you mean you go to your forms listing in the database and just open it (not in design view) vs. using the button and its VBA to open it.

What is it that you call the "Navigation Pane" and what do you mean by "it collapses"? Minimizes? Disappears?

It sounds like an event it firing or perhaps a macro is running upon opening of the form.
__________________
Greg Serrano
Michigan Dept. of Environmental Quality
Air Quality Division





Similar Threads
Thread Thread Starter Forum Replies Last Post
[Resolved] ASPNET_MsgBox hides grid view snufse ASP.NET 2.0 Basics 2 October 9th, 2008 01:01 PM
Close all MdiChield form from open one form/Button salman .NET Framework 2.0 6 December 10th, 2007 03:21 AM
Open Form, run query, open form Grafixx01 Access 7 April 26th, 2007 11:32 AM
FORM Object hides drop-down nancy HTML Code Clinic 2 April 7th, 2006 08:15 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.