Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help with crystal ocx
Message
De
18/04/2002 09:42:32
 
 
À
Tous
Information générale
Forum:
Visual Basic
Catégorie:
Contrôles ActiveX
Titre:
Help with crystal ocx
Divers
Thread ID:
00646295
Message ID:
00646295
Vues:
39
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform