473,385 Members | 1,645 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Opened database is not visible

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
2 2410

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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: a s i l b a . p t | last post by:
Can someone please explain why the following code raises error 2450?... Note: frmTest is a simple form with code behind form so it can be instantiated through the form's class module. Public...
1
by: Shannon Rotz | last post by:
I have a database split into front-end, back-end, on a machine running Windows XP professional (no network, just a single machine). I just upgraded the database from Access 97 to Access 2000. The...
11
by: MLH | last post by:
I was reading up on A97 security and found a blurb saying Microsoft Access provides two traditional methods of securing a database: setting a password for opening a database, or user-level...
0
by: Maileen | last post by:
Hi, I have a VB.NET application which includes several forms. however,i need to know which form is opened and visible, like that i can actualize it. (typically dynamic changes of language...
7
by: emanshu | last post by:
HI all, I an designing an application in C++. i want to open file requested by end user but i want to reflect an error to user if file is already opened by some other application.. will anybody...
11
by: John Ortt | last post by:
Hi everyone. I have a database which I have developed in Access 2000 which is working nicely. The problem is that my customer only has Access 97. I tried to convert the database but the main...
2
by: Jeff | last post by:
ASP.NET 2.0 In my webproject I've created a page which contain a button. This page will be opened from 2 pages. This button must be invisible if the page it is placed on are opened from one of...
2
by: dstorms | last post by:
Something very strange going on here! Don't know where dstorms original post went! The post, in essence, stated that his form, containing a checkbox and a textbox, opened fine if opened...
2
by: bobh | last post by:
Hi All, Anyone have code to share that would detect if a database was opened to database window view??? and since holding the 'you know which key' down, no form is loaded, the autoexec marco...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.