Refresh Report Control

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

In code, is there a way to refresh a report control while the report is open?

Thank you
 
Alex said:
In code, is there a way to refresh a report control while the report is open?


No. Once a report is printed or displayed, it is done.
Assuming you are referring to a report preview on the
screen, you need to close the report and reopen it to see
any new/changed data in the report.
 
As much as I know it can't be done.
You will need to close the report and load it again, using the code

docmd.Close acReport ,"ReportName"
Docmd.OpenReport "ReportName"
 
Back
Top