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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Not on first record

Status
Not open for further replies.

aelsn

Technical User
Dec 17, 2004
17
0
0
US
I ran across a post the other day that I believe answered this question but I cannot find that thread now. I have a report grouped by salesperson and sorted by order number. Certain records have the same order number. I have a running total which looks at the previous order number and excludes that record if the order num = the previous and certain other criteria are met. Basically, I want to keep some of the "dupes" and exclude others. This is working the way I want and I am getting the expected results but the first record always gets excluded. How do I ask Crystal to run this formula for each record but the first?
 
Your evaluation formula should start like this:

(
onfirstrecord or
{table.orderno} <> previous({table.orderno})
) and //your other criteria

-LB
 
Works perfectly. Thanks for the quick reply.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top