Bob Thomson
05-07-2002, 03:32 AM
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.
Peter D
05-07-2002, 10:17 AM
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
Bob Thomson
05-08-2002, 01:30 AM
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?