s.ostwal Level: Whizz Kid

 Registered: 03-08-2006 Posts: 16
|
Re: Crystal Report With Vb6
Hi,
use this code
to send the parameter
----------------------------------
Public gRptApp As CRAXDRT.Application
Public gReport As CRAXDRT.Report
Set gRptApp = New CRAXDRT.Application
Set gReport = gRptApp.OpenReport(FileName)
gReport.ParameterFields.Item(1).AddCurrentValue Value
...
gReport.ParameterFields.Item(n).AddCurrentValue Value
----------------------------------
But for this u have to first create the parameter in the reports
if any problem reply me
Swapnil
|