I have the following formula which works fine, but it does not produce all the records that I need:
This is in the detail section:
whileprintingrecords;
stringvar eqids;
If {TRIP_EQLINK_DTL.GROUP_ROW_ID} > 1 and instr(eqids,{RPT_TRIP_CONSISTS.Equipment ID}) = 0 then
eqids := eqids & {RPT_TRIP_CONSISTS.Equipment ID} & ", "
else
""
This is in the Group Header:
//{@reset}:
whileprintingrecords;
stringvar eqids := "";
This is in the Group footer where the data are displayed:
//{@display}:
whileprintingrecords;
stringvar eqids;
If the field {RPT_TRIP_CONSISTS.Equipment ID} is 'blank' or 'empty', this formula does not seem to print it on the report since i verify the records through the database, some of the records are not printing.
Any help would be greatly appreciated.
This is in the detail section:
whileprintingrecords;
stringvar eqids;
If {TRIP_EQLINK_DTL.GROUP_ROW_ID} > 1 and instr(eqids,{RPT_TRIP_CONSISTS.Equipment ID}) = 0 then
eqids := eqids & {RPT_TRIP_CONSISTS.Equipment ID} & ", "
else
""
This is in the Group Header:
//{@reset}:
whileprintingrecords;
stringvar eqids := "";
This is in the Group footer where the data are displayed:
//{@display}:
whileprintingrecords;
stringvar eqids;
If the field {RPT_TRIP_CONSISTS.Equipment ID} is 'blank' or 'empty', this formula does not seem to print it on the report since i verify the records through the database, some of the records are not printing.
Any help would be greatly appreciated.