Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Modules / DAO / VBA / December 2005

Tip: Looking for answers? Try searching our database.

Refresh Report Control

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Alex - 07 Dec 2005 18:10 GMT
In code, is there a way to refresh a report control while the report is open?

Thank you
Marshall Barton - 07 Dec 2005 19:16 GMT
>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.

Signature

Marsh
MVP [MS Access]

Ofer - 07 Dec 2005 19:18 GMT
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"

> In code, is there a way to refresh a report control while the report is open?
>
> Thank you
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.