Skip to Content
author's profile photo Former Member
Former Member

Fill array WhileReading records

<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>

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Mar 01, 2007 at 12:23 AM

    <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>

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      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.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.