By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,731 Members | 1,123 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,731 IT Pros & Developers. It's quick & easy.

Opened database is not visible

P: n/a
shs
Hi,

I've got the second db opened from the first db. However after the initial
opening of the second db, when loading different forms, they are not visible.
I'm using the followig code to open the "FindParent" subform

Dim SecondApp As New Access.Application
SecondApp.OpenCurrentDatabase "db2.mdb"
SecondApp.RunCommand acCmdAppMaximize
SecondApp.Forms!homemenu!SubMenu.SourceObject = "FindParent"
SecondApp.Visible = True

The second database is open as I can manually click and display it but it is
not visible. Any sugestions?

Thanks in advance.

Shs

Oct 17 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a

shs wrote:
Hi,

I've got the second db opened from the first db. However after the initial
opening of the second db, when loading different forms, they are not visible.
I'm using the followig code to open the "FindParent" subform

Dim SecondApp As New Access.Application
SecondApp.OpenCurrentDatabase "db2.mdb"
SecondApp.RunCommand acCmdAppMaximize
SecondApp.Forms!homemenu!SubMenu.SourceObject = "FindParent"
SecondApp.Visible = True

The second database is open as I can manually click and display it but it is
not visible. Any sugestions?

Thanks in advance.
Are you saying that the database _window_ in the second database is not
visible? If so, in the second database, go to Tools, Startup, then
check the 'display database window' checkbox.

Bruce

Oct 17 '06 #2

P: n/a
Hi,

It is not about the database _window, moreon the forms which are populated in
the db2 (second db)

The selected form is opened in the db2 and is on top which is fine but the
db2 is minimized and does not automatically come up (get the focus) as an
application. The user is then need to click on db2 on the Windows status bar
to bring it up. I need the selected form which is populated in db2 to come up
on the screen.

shs

de***************@gmail.com wrote:
>Hi,
[quoted text clipped - 12 lines]
>>
Thanks in advance.

Are you saying that the database _window_ in the second database is not
visible? If so, in the second database, go to Tools, Startup, then
check the 'display database window' checkbox.

Bruce
--
Message posted via http://www.accessmonster.com

Oct 18 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.