LFMSupport
asked on
Crystal reports Viewer error: this array must be subscripted
Hello all,
When trying to pass parameters through a VB 6 application into the crystal reports viewer i get the error "This array must be subscripted. For example: Array[i]."
Any help appreciated,
Wilky.
When trying to pass parameters through a VB 6 application into the crystal reports viewer i get the error "This array must be subscripted. For example: Array[i]."
Any help appreciated,
Wilky.
ASKER
Im passing through 2 Numeric values and a Date value, both of which are discrete.
Thanks for the reply and forgive me if I don't get back to you until tomorrow, if going home for the day.
Cheers,
Wilky.
Thanks for the reply and forgive me if I don't get back to you until tomorrow, if going home for the day.
Cheers,
Wilky.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Sorry, no its not.
Change it in Crystal to allow multiple discrete values and retest your app.
bdreed is correct - the param must be set to allow multiple values. If after making that change you're still getting the error please post the code you're using to pass the parameter.
ASKER
Ok, I've deleted the date parameter as it wasn't important anyway. The two numeric parameters can't accept multiple discrete values as the parameters were set when i made the command for the report.
Does this make it any clearer or do you want to see the code?
Thanks again,
Wilky.
Does this make it any clearer or do you want to see the code?
Thanks again,
Wilky.
ASKER
Got it,
thanks,
Wilky.
thanks,
Wilky.
What is the actual data you are trying to pass to the parameter from your VB app?