A pop up in startup won't pop up?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi all,
I have a question, not important, but just bothering me...(may be i am not
in the right forum for this ?)
I have a little pop-up form (kind of switchboad) to start other things.
In the access tools> startup dialog i gave the name of this pop-up.
So when i double click on the forms.mdb it should open with this pop-up form.
The trouble is...sometimes it does...and sometimes it does not and when it
refuses to show immediatly, i have to click first on the access grey
workspace background and then it comes....

What can be wrong in my form when the focus is not always set immediatly to
the pop-up on startup of access?
 
I haven't ever seen this happen. I would try change the name of the MDB to a
name that is not the name of an Access collection.
 
Actually, i did not use the name 'forms.mdb' but 'projectforms.mdb' and the
opening pop-up is called 'splash'. Those are no special names in the access
collection, i believe?

I think i have narrowed down my funny 'problem':
When i want to open access and bypass the pop-up form i press 'shift' while
double clicking on the mdb. It opens without executing the startup action.
After leaving access and next time i double click normally on the mdb it
beheaves like described.....i have to click first on the access workspace
background to get the pop-up shown....
Is there any logic in this?
 
I'm not aware of anything that causes behaviour like this. If it bothers
you, consider creating a new mdb and importing everything from the existing
MDB.
 
Rli said:
I have a question, not important, but just bothering me...(may be i am not
in the right forum for this ?)
I have a little pop-up form (kind of switchboad) to start other things.
In the access tools> startup dialog i gave the name of this pop-up.
So when i double click on the forms.mdb it should open with this pop-up form.
The trouble is...sometimes it does...and sometimes it does not and when it
refuses to show immediatly, i have to click first on the access grey
workspace background and then it comes....

What can be wrong in my form when the focus is not always set immediatly to
the pop-up on startup of access?


I've never seen that, but here's an idea to try.

Since Pop Up type forms are not confined to the Access
window, I thinking maybe it was drawn before the Access
window. This should be eas to check for by moving (or
minimizing) the Access window to see if your form is there.

Barring some kind of corruption, why it isn't brought to the
front is a mystery to me. Well maybe this could happen if
it doesn't have a control that can receive the focus or you
have some code that's forcing Access to the front.
 
Hi Duane,
I gave your idea a try...imported the lot into a new database.
And at first glance....the 'problem' disappeared........
That was until i modified the startup dialog.
As soon as i gave an 'application title' (any text) and start up access
again by double clicking, the access window comes and seems to hide the
automaticaly started popup.

and to Marshall....
Yes i think you are rigth....the grey access background is probably in front
of the pop up. But its not easy to check: as soon as i click anywhere on the
background window of access in order to move it aside the popup comes up. How
to know it was behind without clicking....

By the way......is there a way to minimize the acces-workspace-window
without minimizing the popup (and other forms started by the popup) also?
 
Marshall,
Do you know how to minimize access without also minimizing the popup started
by access?
(see also the Duanes mail...)
 
Since I can't reproduce the situation, I'm just guessing and
taking stabs in the dark, but I would try kicking things to
see if I could find a way to get things to fall into place.

You might try various combinations of the Modal and PopUp
properties to see if that shakes something loose.

It does sound like there may be a timing issue involved, so
maybe you could change the scenario by using a different,
normal form as the startup form. This form can make itself
invisible in its Open event and then open the pop up.
 
Hi Marshall...
My little problem is obsessing me... :-)
So i did what you proposed. And also reinstalled Access2003 etc. etc.
Finally i can reproduce this funny pop-up behaviour on demand:
1. create a new blank database db1.mdb
2. create a new table with the wizard...for instance first field
MailinglistID of Mailing list
3. create a new form with the wizard for this field
4. change the default design for this form property popup=yes and save the
form
5. change tools>startup...give an 'application Title' and the formname in
'Display form/page'
6. close access
7. double click on db1.mdb it starts okay (with the popup)
8. close access and start it again with the 'SHIFT' button pressed. (it
starts bypassing the startup options as it should.) do some useless clicking.
9. close access and double click again on db1.mdb (without the shift-button
pressed)
and
there it is ....no popup......until you click on on the workspace....
Doing actions 7 to 9 several times gives random results in poping up or not...

Could you try to reproduce this on your computer...I think also this is a
timing bug...

Rob

Marshall Barton said:
Since I can't reproduce the situation, I'm just guessing and
taking stabs in the dark, but I would try kicking things to
see if I could find a way to get things to fall into place.

You might try various combinations of the Modal and PopUp
properties to see if that shakes something loose.

It does sound like there may be a timing issue involved, so
maybe you could change the scenario by using a different,
normal form as the startup form. This form can make itself
invisible in its Open event and then open the pop up.
--
Marsh
MVP [MS Access]


Do you know how to minimize access without also minimizing the popup started
by access?
(see also the Duanes mail...)
 
Rli said:
Hi Marshall...
My little problem is obsessing me... :-)
So i did what you proposed. And also reinstalled Access2003 etc. etc.
Finally i can reproduce this funny pop-up behaviour on demand:
1. create a new blank database db1.mdb
2. create a new table with the wizard...for instance first field
MailinglistID of Mailing list
3. create a new form with the wizard for this field
4. change the default design for this form property popup=yes and save the
form
5. change tools>startup...give an 'application Title' and the formname in
'Display form/page'
6. close access
7. double click on db1.mdb it starts okay (with the popup)
8. close access and start it again with the 'SHIFT' button pressed. (it
starts bypassing the startup options as it should.) do some useless clicking.
9. close access and double click again on db1.mdb (without the shift-button
pressed)
and
there it is ....no popup......until you click on on the workspace....
Doing actions 7 to 9 several times gives random results in poping up or not...

Could you try to reproduce this on your computer...I think also this is a
timing bug...


Ok, I followed your steps using A2002, but I could not make
it demonstrate your problem.

Why do you need to have the start up form be a pop up?
Cna't you hide the menu/toolbars and db window so the user
has nothing else to click on?

Sorry, but other than that, I'm all out of ideas.
 
Back
Top