Form Restore Problem

M

Maurita

Hi All, hope someone can help me with a problem I haven't been able to
figure out or research the answer for. I have created "restore" and
"maximize" functions for my forms in previous databases and they work
great, but for some reason they are not working correctly in a
database I am now working on. In the "Activate" event of the forms, I
have used the following code, DoCmd.Restore. When I pull up the form
in the database, it restores correctly, but when I call up the form
through the Switchboard, it always maximizes. As to the Switchboard,
I have checked the code t be sure it is typed correctly, tried taking
out the restore code, and taken out any reference to the restore code,
but the problem still exists. I am at a loss as to why all forms are
being maximized through the Switchboard but are restored correctly if
clicked on through the database itself.

Thank you for any help you can give on this issue.

Maurita Searcy
 
S

Seth Schwarm

Maurita:

Have you thoroughly looked at each of the parameters in the OpenForm command?

Seems like a long time ago I had some type of similar issue, but just can't
remember in which application.

Also, have you tried running your OpenForm command, then followed it up with
the code DoCmd.Restore?

Seth Schwarm
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top