Luis Moises Rojas
Sep 8th, 2003, 02:50 PM
am trying 2 pass a parameter to crystalreport in VB
With reporte
s = " id='" & CStr(iid) & "'"
.ParameterFields(0) = s
.ReportFileName = "\\xx.x.x.x\Reportes\Suscripciones" & "\" & "Contracto de Suscripcion1.rpt"
.Action = 1
End With
where par(0) is a number and a parameter in crystal.
I got the message: Invalid parameter name.
what is wrong?
How can i do it?
I mean, when i call the report i need to pass the formula, but the i do not want that the parameter screen to be displayed.
With reporte
s = " id='" & CStr(iid) & "'"
.ParameterFields(0) = s
.ReportFileName = "\\xx.x.x.x\Reportes\Suscripciones" & "\" & "Contracto de Suscripcion1.rpt"
.Action = 1
End With
where par(0) is a number and a parameter in crystal.
I got the message: Invalid parameter name.
what is wrong?
How can i do it?
I mean, when i call the report i need to pass the formula, but the i do not want that the parameter screen to be displayed.