Open report from button on form

  • Thread starter Thread starter Gary Hull
  • Start date Start date
G

Gary Hull

I have a form with a sub form; on the main part of the form there is a
button that opens a report. The problem is if I change the data on the form
it is not reflected in the report, if I close the form and re-open it then
click on the button to open the report everything if fine.

Thanks for your help
Gary's Computers
 
Save any changes to the current record before opening the report. In the
Click event procedure, before the line of code that opens the report, add
the following line ...

Me.Dirty = False
 

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