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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Informative display

Status
Not open for further replies.

DanNorris2000

Technical User
Nov 10, 2000
186
US
When the code below executes I would like to hide all other forms and throw a form up with the name of the current report that is printing displayed with maybe a hour glass that shows that something is happening or at least display the report name in the "printing records box". I will be running several report from this program



Set CrxReport = crxApplication.OpenReport("k:\vfp\reinsurance\reports\32pf.rpt")

' Use the DiscardSavedData method to ensure that your report hits the Database and refreshes the data
CrxReport.DiscardSavedData

CrxReport.ParameterFields.GetItemByName("bookfrom").AddCurrentValue Val(strbookfrom)
CrxReport.ParameterFields.GetItemByName("bookto").AddCurrentValue Val(strbookto)
CrxReport.PaperOrientation = crLandscape
CrxReport.PrintOut False, 1, True, 1, 9999

 
The DoEvents statement can be placed just before displaying a form. This will update the screen. Hope it helps

Qureshi
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top