Hi there,
I am returning a string variable from a subreport on my main report. when the row is null it is returning the data from the previous section.
The subreport formula is ex_worker:
whileprintingrecords;
shared stringvar ex_worker := {HISTORY.workerid}
on my main report I have added a new section under the existing group header, GH1b where I have a formula: shrd_ex_worker
whileprintingrecords;
shared stringvar ex_worker
This works OK except where there is no ex worker in which case it returns the ex_worker id from the previous row. Is there any way I can suporess this or reset the variable so that it runs for each row.
Many thanks
I am returning a string variable from a subreport on my main report. when the row is null it is returning the data from the previous section.
The subreport formula is ex_worker:
whileprintingrecords;
shared stringvar ex_worker := {HISTORY.workerid}
on my main report I have added a new section under the existing group header, GH1b where I have a formula: shrd_ex_worker
whileprintingrecords;
shared stringvar ex_worker
This works OK except where there is no ex worker in which case it returns the ex_worker id from the previous row. Is there any way I can suporess this or reset the variable so that it runs for each row.
Many thanks