why form opens behind other form

  • Thread starter Thread starter Barmaley
  • Start date Start date
B

Barmaley

Hi everyone,



I have a dilemma.

On one of my forms has button that opens another form.

For a while it was working just fine, but now second form opens up behind
first one.

Did any of you have similar experience?

What can cause such behavior?
 
Possible causes:

1. The first form is open as a popup or modal form.
These properties are on the Other tab of the Properties box, when examining
the properties of the form.

2. The other form was already open.
If it is already open, you may need to SetFocus to the form to bring it
forward.

3. Corruption of the code.
Close Access. Make a backup copy of the file. Decompile the database by
entering something like this at the command prompt while Access is not
running. It is all one line, and include the quotes:
"c:\Program Files\Microsoft office\office\msaccess.exe" /decompile
"c:\MyPath\MyDatabase.mdb"
 
Thank you Allen,

#1 was the fix for my problem.

I changed Popup to NO and it works now,

Thank you again
 
Back
Top