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!

counting sequence

Status
Not open for further replies.

eoggb

Programmer
Feb 2, 2006
20
CA
CR Version 8.5
Oracle 9

I was looking for a formula that would auto increment a counting sequence for the records printed only (no blank feilds).

1. CCCCCCC
2. fffffffffff
3. dddddddddd

this is a group called accounts and depending on the vendor they may have a number of accounts assigned to them.

it is grouped by client then by the accounts.
 
Why would there be blank groups? You could try just inserting a running total that resets on change of group. If there are in fact groups that are "blank", then add a formula to the evaluation section:

not isnull({table.groupfield}) and
len(trim({table.groupfield})) <> 0

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top