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

finding multiples

Status
Not open for further replies.

jinkys

Programmer
Sep 11, 2003
67
GB
Can anyone suggest a way to find multiple entries in repeating fields of xml input
e.g. I have five repeaated fields with values as below which I read in using a functional map.
ONE
TWO
TWO
THREE
FOUR

I can only think of using COUNTSTRING for each optional text and see if value >1 but this could get a bit long-winded for each option, the more there is.

Any other ideas how to find duplicates?
 
If you know the element where the duplicate can exist then do an initial unique(item:ref) and use that result to drive your countstring function.
Tim
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top