We help IT Professionals succeed at work.
Get Started

Ignore duplicates in a listview.

Peter Kiers
Peter Kiers asked
Last Modified: 2012-05-09

I have a Button, a ListView and a XMLDocument-component on my form.
When I press on the button it uses the XMLDocument-component to parse
the xml-file hat is specified in the procedure. It searches for the nodes that
begins with 'BG' and displays from every node that begins with BG the values
from Val, Dt and TM into the Listview columns Value, Date and Time.

But everytime when I presses the button the xm-file will be read
and the listview will be fill with records that are allready exits.
Is there a way to ignore dulpicate rows?

I found this on the internet: FRecentFiles.Duplicates := dupIgnore;

But don't know exactly what to do with it?

Who knows the answer and is willing to help me?
Watch Question
Top Expert 2010
This problem has been solved!
Unlock 1 Answer and 18 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE