hi,
I've try this code to pass parameter to CR8 using RDC in VB5
Some of the code:
Dim CrystalParameter As CRAXDRT.ParameterFieldDefinition
'After refresh the report,
'pass the parameter value to the main report
'Assume the parameter is a number "6"
Set CrystalParameter = CrystalReport.ParameterFields.Item(1)
CrystalParameter.AddCurrentValue "6"
It can't work.Anyone can help me?
Thank's in advance
I've try this code to pass parameter to CR8 using RDC in VB5
Some of the code:
Dim CrystalParameter As CRAXDRT.ParameterFieldDefinition
'After refresh the report,
'pass the parameter value to the main report
'Assume the parameter is a number "6"
Set CrystalParameter = CrystalReport.ParameterFields.Item(1)
CrystalParameter.AddCurrentValue "6"
It can't work.Anyone can help me?
Thank's in advance