SuppressRepeatedValues and missing lines
Hi,
I had a problem that I solved that might come up for someone else.
I'm using RBuilder 7 with Delphi 5.
I have a report that prints a couple of columns. The first column is
a name, the second is a transaction date, third is transaction description
and finally an amount. The first column is set to SuppressRepeatedValues.
The report runs great, but once in a while it is missing the name.
It's not on every name. It's not on every dataset, just once in a while.
I got in some data that showed the problem and found what's doing it.
In the BeforePrint of the detail band there is an code that reads
If (TranDate>=StartDate) and (TranDate<=EndDate)
then Detail.Visible:=true
else Detail.Visible:=false;
If the first entry for a name set is outside the date range it does not
print the row, but the SuppressRepeatedValue is still set (I think
this might be a mistake).
Just thought it might hit someone else.
Thanks,
Joe
I had a problem that I solved that might come up for someone else.
I'm using RBuilder 7 with Delphi 5.
I have a report that prints a couple of columns. The first column is
a name, the second is a transaction date, third is transaction description
and finally an amount. The first column is set to SuppressRepeatedValues.
The report runs great, but once in a while it is missing the name.
It's not on every name. It's not on every dataset, just once in a while.
I got in some data that showed the problem and found what's doing it.
In the BeforePrint of the detail band there is an code that reads
If (TranDate>=StartDate) and (TranDate<=EndDate)
then Detail.Visible:=true
else Detail.Visible:=false;
If the first entry for a name set is outside the date range it does not
print the row, but the SuppressRepeatedValue is still set (I think
this might be a mistake).
Just thought it might hit someone else.
Thanks,
Joe
This discussion has been closed.