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 / Reports / Printing / April 2008

Tip: Looking for answers? Try searching our database.

reopen report

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Souris - 24 Apr 2008 14:11 GMT
I have a button to preview a report using my controls as parameter.

It seems the report does not close and re open when I change the parameters
from my controls and click the button to run the report again.

Is it true that I need check the report opening or not, if it does then I
need close the report and reopne it from my button click event?

Your information is great appreciated,
Klatuu - 24 Apr 2008 15:30 GMT
You do need to close it.  You can test to see if it is open and if so close
it like this:

   If CurrentProject.AllReports("ReportName").IsLoaded Then
       Docmd.Close acReport, "ReportName", acSaveNo
   End If

Signature

Dave Hargis, Microsoft Access MVP

> I have a button to preview a report using my controls as parameter.
>
[quoted text clipped - 5 lines]
>
> Your information is great appreciated,
 
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.