Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

sequentail counter by a group

Status
Not open for further replies.

eoggb

Programmer
Feb 2, 2006
20
CA
i have a report that groups by company name, transaction id and order date. all the data is printed in the deatils. i would like to know how to create a counter that prints in the deatils and reset it self by the order id.


data below:

ACME INC. AKV878 mar-04-06 Counter: T1
ACME INC. AMC254 jan-02-06 T2
ACME INC. AMC254 apr-09-06 T2

thanks..
 
Create a running total {#yourrt} that does a count of any recurring field, evaluates for each record, and resets on change of order ID (is the same as the transaction ID? If so, use on change of group; otherwise use on change of field: Order ID, and sort the report on Order ID).

Then create a formula:

"T"+totext({#yourrt},0,"")

Place this in the detail section.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top