Issue with main menu form not maximized

Angel69

Registered User.
Local time
Today, 18:01
Joined
Jun 11, 2013
Messages
86
I have a front end that I have distributed to four users. The front end sits on a shared drive and when I make design changes I just replace it and have the users copy it over to their desktops.

I set up a main menu for them to access the various forms, reports, etc. When I first open the front end on my desktop the main menu form is small and not taking up the entire screen. I put the cmd.maximize command in the on open event and still does not maximize the form when I open the database. I tried to size it and saved changes but still not working.

I just did a share session with a user and she opened the form and it was maximized on her desktop :banghead: What's going on? Why is it maximizing for her and not me?

TIA
 
Part 2 of my above question:

The same user that was just able to open the form correctly, got the error 'The expression On Open you entered as the event property setting produced the following error: Object or class does not support the set of events. She got this last night but no issues this morning. I'm thinking the two are linked.
 
Show the code you have in the form's open event.
 
I have this on the open event:

Private Sub Form_Open(Cancel As Integer)
DoCmd.Maximize
End Sub

and this on the unload event as someone else recommend.
Private Sub Form_Unload(Cancel As Integer)
DoCmd.Restore
End Sub

The form is now opening in full screen but when I close the dbase there are two of the same screens. One is slightly smaller so I can see that the main menu is duplicated. Any ideas?
 

Users who are viewing this thread

Back
Top Bottom