Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Access Report Printing Completed

Status
Not open for further replies.

kennedymr2

Programmer
May 23, 2001
594
AU

Vba Code..

Is there code to determine if an access report has been completed.

Ie hold up code in a Sub until report is completed


Appreciate any help
 
You can see if a report is open and then run code. Which would essentially happen one you execute code to open a report.

Lets say you report name is "TEST REPORT"

Code:
    Do while Reports.Count = 0
       Flag = ""
    Loop


    For cnt = Reports.Count To 0
        RptName = Reports(cnt).Name
        If RptName = "TEST REPORT" Then
           'execute you code here
        End If
    Next
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top