Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help with crystal ocx
Message
From
18/04/2002 09:42:32
 
 
To
All
General information
Forum:
Visual Basic
Category:
ActiveX controls
Title:
Help with crystal ocx
Miscellaneous
Thread ID:
00646295
Message ID:
00646295
Views:
38
This is my first attempt using crystal within a VB app.
I am trying to automate the running of crystal reports.
I can get the app to run one report but I need it to run multiple reports.
It appears the status property is being set to 3 and not reset.
Here is a simple sample of my code.
Any suggestions will be appreciated.


Private Sub Form_Load()
CrystalReport2.ReportFileName = "K:\report library\production\Land Finance application status history.rpt"
CrystalReport2.Action = 1
Do While CrystalReport2.Status <> 3
Loop
End
CrystalReport2.ReportFileName = "K:\report library\production\Refi application status history.rpt"
CrystalReport2.Action = 1
Do While CrystalReport2.Status <> 3
Loop


The first report prints ok but I never can get to the second report.

Thanks in advance
Gary stuck in VB
End
God Bless America
Next
Reply
Map
View

Click here to load this message in the networking platform