Datasheet view

  • Thread starter Thread starter Grace
  • Start date Start date
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?
 
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
 
Back
Top