I have a report that works fine displaying all the data that i need. The only problem is I have this formula which I think has a problem that I cannot figure out. The formula reads:
whileprintingrecords;
stringvar eqids;
If {TRIP_EQLINK_DTL.GROUP_ROW_ID} > 1 then
""
else
eqids := eqids & {RPT_TRIP_CONSISTS.Equipment ID} & ", "
The result prints 6 lines for every value and the value is duplicated twice for each equipment, for example:
SCAX116, SCAX116, SCAX155, SCAX155, SCAX624, SCAX624, where it should be only SCAX116, SCAX155, SCAX624. The first line in the details section shows 1 value = SCAX116, then every line will go SCAX116, SCAX116 then the next line is SCAX116, SCAX116, SCAX155 etc..
What am I doing wrong?? Any assistance is greatly appreciated.
whileprintingrecords;
stringvar eqids;
If {TRIP_EQLINK_DTL.GROUP_ROW_ID} > 1 then
""
else
eqids := eqids & {RPT_TRIP_CONSISTS.Equipment ID} & ", "
The result prints 6 lines for every value and the value is duplicated twice for each equipment, for example:
SCAX116, SCAX116, SCAX155, SCAX155, SCAX624, SCAX624, where it should be only SCAX116, SCAX155, SCAX624. The first line in the details section shows 1 value = SCAX116, then every line will go SCAX116, SCAX116 then the next line is SCAX116, SCAX116, SCAX155 etc..
What am I doing wrong?? Any assistance is greatly appreciated.