Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


Record Numbering only visible records.

Record Numbering only visible records.

Record Numbering only visible records.

I have a purchase order report that I am trying to number records based on change in group Supplier ID.

So I created a Running Total field called "#NumberLine"

Selected a field to summarize by e.g. Part ID

Selected Type of Summary: Count

Evaluate: For each Record

Reset: On Change of Group (Supplier ID).

This works very well. However, If I now change the report to consolidate duplicate parts and sum quantites (so I have another Running Total field called "#TotalQty" and show each part once per supplier, then my #NumberLine does not work well, it skips numbers (as if applying hidden numbering to the suppressed duplicate part records).

How do I ignore the suppressed records and base the #NumberLine on "visible" records?

RE: Record Numbering only visible records.

Instead of suppressing the dupes try grouping on part.

RE: Record Numbering only visible records.

Actually, sorry, I did group by Part. I guess I meant to say "hidden" instead of "suppressed".

I've grouped by part and created a running total for quantity.

I now want to number the lines, but am getting skipped numbers whereever a part would have appeared more than once before grouping.

RE: Record Numbering only visible records.

Create a running total that uses the opposite of your suppress formula.

RE: Record Numbering only visible records.

I am not suppressing though. I am grouping and have a running total to sum quantities.

RE: Record Numbering only visible records.

Then evaluate the running total on change of group.

RE: Record Numbering only visible records.

That is what I tried initially. That isn't working.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close