change subform view in VBA

  • Thread starter Thread starter sps
  • Start date Start date
S

sps

I have a subform that I would like to provide the user the
option of switching between form view and datasheet view.
How can I do this in vba code?

thanks
Steve.
 
RunCommand acCmdSubformDatasheetView
RunCommand acCmdSubformFormView
 

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

Back
Top