cancel
Showing results for 
Search instead for 
Did you mean: 

Fill array WhileReading records

Former Member
0 Kudos

<p>Is it possible to fill an array WhileReadingRecords ?</p><p>I am looking for a Crystal Reports Formula sample [ not WhilePrinting]</p><p>Lutow </p>

Accepted Solutions (1)

Accepted Solutions (1)

todd_hanna
Employee
Employee
0 Kudos

<p>You should be able to fill a static array... for example, you could fill an array with Holidays in a year.</p><p>But if you are trying to dynamically fill an array row by row, you are going to run into evaluation time issues by trying to do this at the WhileReadingRecords stage. </p><p>What&#39;s the end goal? Maybe there is another option? </p>

Former Member
0 Kudos

My original idea was to make information available within a report by using an array (or another kind of variable) that has been filled at the beginning of this report. This might  be an alternative for using subreports within a main report. Instead of accessing information several times by using subreports one could access the array using an index. The array should be filled dynamically row by row, but it does not seem to work WhileReading. To fill it WhilePrinting does work, but that can not be performed at the beginning of the report, one needs a subreport to do it and then pass the variable as a shared one.

Answers (0)