Datasheet view

G

Grace

I have a button that I've placed on a subform that when
pressed opens a form. The form is set to display in
datasheet view. However, when I the form is opened using
the navigation button, it opens in single form view.

Any thoughts?
 
R

Rick Brandt

Grace said:
I have a button that I've placed on a subform that when
pressed opens a form. The form is set to display in
datasheet view. However, when I the form is opened using
the navigation button, it opens in single form view.

You have to use the FormView argument of the OpenForm method to explicitly
indicate you want Datasheet view

DoCmd.OpenForm "someform", acFormDS
 
T

Tom Ross

Or you can make a macro to open the form and specify the view in the macro
editor.
 

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