On Wednesday 06 September 2006 07:17 am, Ralph Alvy wrote:
> On Tue September 5 2006 16:27, Colin Roberts wrote:
> > Hi All,
> >
> > A simple one ?? :-) Anyone know a way to include a Report body "Record
> > Number" (cntl F7 Option 7) in a report variable so the printing of that
> > number can be turned on or off for each record.
> >
> > The report number (or item number) is printed now with each item I just
> > want to print it again with some records but not others on the other edge
> > of the page (which is ultimately detached) as part of a text field.
>
> Well, why not count the record with an RV instead of using the Record
> Number function? That RV would be formulated to increase by 1 with each
> Report Body.
>
> Let's say it's RV1. The formula would be
>
>       RV1 + 1
>
> to be set at the beginning of each Report Body.
>
> Then you have RV2, which would be printed on the other edge of the page.
> Formulate RV2 so that it takes into consideration the conditions under
> which the value found in RV1 is to be printed:
>
>       if [conditions to print it] then RV1
>       else ""
>       endif

Forgot to mention you'll have to use apply.format in there, and print the RV 
as text (e.g., an A2 field).
_______________________________________________
Dataperf mailing list
[email protected]
http://lists.dataperfect.nl/mailman/listinfo/dataperf

Reply via email to