Form display different than expected

A

alibachani

I am creating forms using a wizard in ms access (2002) and they display
fine when I double click on them directly. But if I have another form
execute/run them, the display is changed from lookin like an excel
input method to a record-per-view method. Any suggestions?
 
F

fredg

I am creating forms using a wizard in ms access (2002) and they display
fine when I double click on them directly. But if I have another form
execute/run them, the display is changed from lookin like an excel
input method to a record-per-view method. Any suggestions?

You are trying to display the form in Datasheet View.
If you open a form from an event on another form, regardless of the
form's Default View setting, you MUST explicitly open the form in
datasheet view.

DoCmd.OpenForm "FormName", acFormDS
 
G

Guest

If you are using VBA to open the form:
Docmd.OpenForm "SomeForm", acFormDS
If you are using a Macro, set the View to Datasheet
 
A

alibachani

Thanks!

You are trying to display the form in Datasheet View.
If you open a form from an event on another form, regardless of the
form's Default View setting, you MUST explicitly open the form in
datasheet view.

DoCmd.OpenForm "FormName", acFormDS
 

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