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.
LVL 1
LFMSupportAsked:
Who is Participating?
 
bdreed35Connect With a Mentor Commented:
Is your parameter in Crystal defined to allow multiple discrete values?
0
 
bdreed35Commented:
How is the parameter defined in Crystal? (Datatype, Values excepted - Discrete, Range, or both, )
What is the actual data you are trying to pass to the parameter from your VB app?
0
 
LFMSupportAuthor Commented:
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.
0
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LFMSupportAuthor Commented:
Sorry, no its not.
0
 
bdreed35Commented:
Change it in Crystal to allow multiple discrete values and retest your app.
0
 
frodomanCommented:
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.
0
 
LFMSupportAuthor Commented:
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.
0
 
LFMSupportAuthor Commented:
Got it,

thanks,
Wilky.
0
All Courses

From novice to tech pro — start learning today.