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!

Replacing duplicates in var

Status
Not open for further replies.

lauritz

Programmer
Aug 20, 2002
27
AU
Hi,

I am using Access97 (I know!) and have a list of values populated from a table. These values represent items with errors. My problem is an item can have multiple errors but I only want to show it to the user once. After I have built my string of items containing errors, is there a simple way to parse it and remove any duplicates??

TIA
 
How is built your string of items containing errors ?
I guess you may consider the DISTINCT predicate in SQL.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Where are these values being listed? In another table, in a query, a report, or something else? If it's a query or report, maybe SELECT DISTINCT in your SQL?


~Melagan
______
"It's never too late to become what you might have been.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top