hello
i want to send values to the parameters in crystal reports 9 from vb,can any one help me with the code.
i tried the following code:\\\\\\\\\\\VB Code:
Dim Report As ais_billreport Dim PARAM As CRAXDRT.ParameterFieldDefinition Dim PARAMS As CRAXDRT.ParameterFieldDefinitions Set Report = New ais_billreport ' Report.Database.Tables(1).SetLogOnInfo "", "aiswaria.mdb", "", "" ' Set PARAMS = Report.ParameterFields ' For Each PARAM In PARAMS ' With PARAM ' Select Case .ParameterFieldName ' Case "frmbillno" ' .SetCurrentValue FROMBILLNO ' Case "tobillno" ' .SetCurrentValue TOBILLNO ' End Select ' End With ' Next ' frm_report.CRViewer91.ReportSource = Report
i get error in
Set PARAMS = Report.ParameterFields
plse help me
Thanks in advance


Reply With Quote
