General information
Category:
ActiveX controls
Title:
Passing Parameter in Crystal Report
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only