Pop-out forms

Kayleigh

Member
Local time
Today, 14:54
Joined
Sep 24, 2020
Messages
709
Hi,
Have an interesting issue that has started occurring to my database - whenever I do a couple of changes to a pop-out form it will disappear when I switch to form view unless I do a compact & repair. Any suggestions?
 
Is it hiding behind another form? From design view, try closing the form and then opening it again. If that works, at least you avoid doing a C&R.
 
Late reply to this but I find that I experience this issue when switching between multiple screens. Also have tried tweaking Auto-resize / auto-center settings and manually set height and width on open event but this is not a perfect solution. Would appreciate any other ideas to resolve this?
 
Try checking the position of the form from the Immediate Window after you switch to form view:

Code:
?Forms(Forms.Count - 1).Name
?Forms(Forms.Count - 1).WindowLeft
?Forms(Forms.Count - 1).WindowTop
?Forms(Forms.Count - 1).WindowHeight
?Forms(Forms.Count - 1).WindowWidth
 
is it the same as Screen.ActiveForm?
 
  • Screen.ActiveForm: returns the form object of the active form (raises an error if a report is the active object)
  • Forms(Forms.Count - 1): returns the form object for the most recently opened form (raises an error if there are no open forms)
Note: I included the first line--?Forms(Forms.Count - 1).Name--as a sanity check to ensure we are looking at the expected form.
 
Unlike standard forms, popup forms are independent of the Access application interface.
They will always open on the same monitor where they were last saved.
If that was done on the secondary monitor, then the form will disappear next time you use a single monitor as it is 'appearing off screen'

So to force them to open on the primary/only monitor, open in design view with Access on the primary monitor.
Save the form and it will be visible when you next reopen it.

This isn't an issue with standard forms as they always open as part of the Access application interface.
 

Users who are viewing this thread

Back
Top Bottom