Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2020 : Technical Questions
Message Icon Topic: Index was outside the bounds of the array Post Reply Post New Topic
Author Message
WillieT
Newbie
Newbie


Joined: 10 Jul 2013
Online Status: Offline
Posts: 1
Quote WillieT Replybullet Topic: Index was outside the bounds of the array
    Posted: 15 Jul 2013 at 9:09am
I receive an "Index was outside the bounds of the array" message when I use SetParameterValue() to set subreport parameters.
 
parameter variable values
myReport.SetParameterValue("JOBID", "15823", "JR076_CR11_SUB")
 
VB.NET code
myReport.SetParameterValue(strParm, strVal, mySubReportName
 
When I use SetParameterValue() to set main report parameters I receive no errors.
 
Any ideas?
IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4372
Quote lockwelle Replybullet Posted: 15 Jul 2013 at 11:00am
Correct me if I'm wrong, but are subreports usually self-sufficient? The main report passes all the info that is needed? I've never had a subreport that didn't link to the main report.

I realize that they could exist.
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.031 seconds.