Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing Parameter in Crystal Report
Message
From
16/04/2002 05:01:53
Jeffrey Ang
JGA Software Inc.
Davao, Philippines
 
 
To
All
General information
Forum:
Visual Basic
Category:
ActiveX controls
Title:
Passing Parameter in Crystal Report
Miscellaneous
Thread ID:
00645330
Message ID:
00645330
Views:
22
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.
Next
Reply
Map
View

Click here to load this message in the networking platform