Access Form - open in datasheet view by default

I have a button on a form which opens another form.
I want the latter to open in datasheet view.
How do I achieve that?

thanks
David
rutlandictAsked:
Who is Participating?
 
peter57rConnect With a Mentor Commented:
Make sure the second argument of the open statement specifies datasheet
docmd.OpenForm "frmname",acFormDS
0
 
wiswalldCommented:
Or under properties set to datasheet view for the form, but the above will do it.
0
 
rutlandictAuthor Commented:
where is this open statement to be found!?
0
 
peter57rCommented:
Look at your button properties.  In the OnClick event property it will say [Event Procedure] - double click that and it will take you to the code.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.