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!

Need help suppressing duplicate row

Status
Not open for further replies.

jpeters01

Technical User
Dec 5, 2007
109
US
Hi, My data looks like this:

Description Area NDC(string)
Acetaminophen ED 123
Actaminophen ICU 1234
Acetaminophen ED 123
Acetaminophen 4W 12345
Acetaminophen TCU 222
Acetaminophen 3S 222

I need add an X in a column when the Area is ED and I need to remove duplicate NDC's so that the data looks like this:
Description Area NDC(string) ED
Acetaminophen ED 123 X
Actaminophen ICU 1234
Acetaminophen 4W 12345
Acetaminophen TCU 222

I am trying to use a suppression formula on the details section, like {TABLE.NDC} = next ({TABLE.NDC}) but this is not working, it suppresses some of the duplicate NDC rows but not all of them. I tried creating a formula for the NDC to make it a number and then used that for the suppression formula but that didn't work either.

Can you tell me what I am doing wrong?

Thank you
 
You are in the wrong forum. Please repost in forum149 or forum767.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top