whats the best way to call a report from a command button?

  • Thread starter Thread starter Josh
  • Start date Start date
J

Josh

I have created a report and would like to view it whith a command button I
have on one of my forms. what is the best way to get this accomplished?
 
Use Click event of the command button to run code:
DoCmd.OpenReport "reportname", acViewPreview
 

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