Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing Parameter in Crystal Report
Message
De
16/04/2002 05:01:53
Jeffrey Ang
JGA Software Inc.
Davao, Philippines
 
 
À
Tous
Information générale
Forum:
Visual Basic
Catégorie:
Contrôles ActiveX
Titre:
Passing Parameter in Crystal Report
Divers
Thread ID:
00645330
Message ID:
00645330
Vues:
23
How to pass parameter in crystal report from vb's form. i use crystal report designer inside vb. here's my code:

Dim Dsr as Card
*Card is created in Crystal Designer)

Set Dsr = New Card
Dsr.Database.SetDataSource ForPrintRs, 3, 1
Dsr.ParameterFields(0).Value = "MinDate;" & DTPicker1.Value & ";True"
Preview.CRViewer1.ReportSource = Dsr
Preview.CRViewer1.ViewReport

if i run this program i got an error "subscript out of range".

thanks 4 d help.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform