T
Tony Vrolyk
I have a columnar report and I am looking for a way to display the percent
difference of each record in comparson to the first. The field I am
comparing is a calculatated control on the report so running it as a query
first is not possible.
I was thinking of setting one of two variables to match the first record but
that variable would not be changed for the rest of the report. Then a second
variable that would be set to match the same field on subsequent records and
then calculate the percent difference and assign that value to a text box.
I am guessing this would be done on the print event of the detail section
but not sure how to do it exactly. I should mention that this is happening
on a subreport but there is no data in the parent report that relates
directly to the calulation question.
Thanks for your help
Tony
difference of each record in comparson to the first. The field I am
comparing is a calculatated control on the report so running it as a query
first is not possible.
I was thinking of setting one of two variables to match the first record but
that variable would not be changed for the rest of the report. Then a second
variable that would be set to match the same field on subsequent records and
then calculate the percent difference and assign that value to a text box.
I am guessing this would be done on the print event of the detail section
but not sure how to do it exactly. I should mention that this is happening
on a subreport but there is no data in the parent report that relates
directly to the calulation question.
Thanks for your help
Tony