Can't Open Form in Datasheet View with Command Button

  • Thread starter Thread starter Fred Worthington
  • Start date Start date
F

Fred Worthington

Greetings:

I have set the default view of my form to Datasheet View, and that is the
way it appears when opened from the database window. However, when I open
the form from a Command Button, it always opens in Form View. How can I get
the form to open in Datasheet View from the Command Button. Any suggestions
would be greatly appreciated.

Thanks . . . Fred
 
Fred Worthington said:
Greetings:

I have set the default view of my form to Datasheet View, and that is the
way it appears when opened from the database window. However, when I open
the form from a Command Button, it always opens in Form View. How can I get
the form to open in Datasheet View from the Command Button. Any suggestions
would be greatly appreciated.

DoCmd.OpenForm "FormName", acFormDS
 
Back
Top