Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

JIT Pipeline endless loop

edited July 2001 in General
My JIT pipeline gets its data from a StringList (groups on the stringlist
field).
I pass data using the ongetFieldValue event as below:

if aFieldName = 'fname' then
result := StringList[plBom.recordindex]

However as soon as I add a second field as below, my report goes into an
endless loop as soon as I go to the last page. (hangs up on the last
record).

if aFieldName = 'fname' then
result := StringList[plBom.recordindex]
else if aFieldName = 'fdescription' then
result := 'test';

I have also set RecordCount := StringList.count;
No other code is associated with theJIT Pipeline.

Any suggestions welcome

G

Comments

  • edited July 2001
    Check to make sure the new field is defined in the pipeline field editor,
    although this would just eliminate the field from being found in the
    pipeline. I didn't get an endless loop when trying to incorrectly configure
    the demo. After looking at demo #136 in the installed main reports demo
    app, I don't see anything obvious. Try using 5.56 if you are not already.
    Contact info@digital-metaphors.com with your full registration information.
    Most upgrades are free.


    Cheers,

    Jim Bennett
    Digital Metaphors


This discussion has been closed.