I'm trying to pass a string parameter from VB6 to Crystal. Here's what I've got:
Set app = CreateObject("Crystal.CRPE.Application"
Set report = app.OpenReport(rname)
' From and To are the respective names of the (string type) parameter fields.
report.ParameterFields(0) = "From;Val;TRUE"
report.ParameterFields(1) = "To;Val;TRUE"
I keep getting a Type Mismatch 13 Error!
Any ideas?
Thanks in advance!
-Smitty
Set app = CreateObject("Crystal.CRPE.Application"
Set report = app.OpenReport(rname)
' From and To are the respective names of the (string type) parameter fields.
report.ParameterFields(0) = "From;Val;TRUE"
report.ParameterFields(1) = "To;Val;TRUE"
I keep getting a Type Mismatch 13 Error!
Any ideas?
Thanks in advance!
-Smitty