Opening Forms in a Window

  • Thread starter Thread starter Bob Thomson
  • Start date Start date
B

Bob Thomson

Guest
On opening my database the Main Switchboard refuses to open up in a window in the centre of the screen. Additionally all other forms from the switchboard perform in exactly the same way. I have set the autoresize property to 'No' and the autocentre property to 'Yes' but still no joy. I am using Access 2000. Anyone with any ideas, PLEASE?
 
Sounds like you may have a DoCmd.Maximize in there somewhere.

Send me a sample and I will have a look.
 
Try setting autoresize = yes, autocenter = yes, then put a Docmd.Restore in your form OnActivate event procedure.

Hope this helps,

Peter De Baets
Peter's Software - MS Access Tools for Developers http://www.peterssoftware.com
 
Cheers Guys,

Yep! I do have a Do.Cmd Maximise in the script but when I remove it all sorts of other weird things happen.

I have tried to adapt the forms from the sample databases and maybe this wasn't a good idea.

What do you think?
 

Users who are viewing this thread

Back
Top Bottom