Connecting Tech Pros Worldwide Help | Site Map

Opened database is not visible

shs
Guest
 
Posts: n/a
#1: Oct 17 '06
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

deluxeinformation@gmail.com
Guest
 
Posts: n/a
#2: Oct 17 '06

re: Opened database is not visible



shs wrote:
Quote:
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

shs via AccessMonster.com
Guest
 
Posts: n/a
#3: Oct 18 '06

re: Opened database is not visible


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

deluxeinformation@gmail.com wrote:
Quote:
Quote:
>Hi,
>>
>[quoted text clipped - 12 lines]
Quote:
>>
>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

Closed Thread


Similar Microsoft Access / VBA bytes