Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Duplicates
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Duplicates
Divers
Thread ID:
01524786
Message ID:
01524786
Vues:
114
Hilmar sent me this solution for tracking duplicates in a database a little while ago - it works very well.
Further to this solution, how would i display the names plus an added field called field2 and attribute this information to a variable called myinfo.

Thanks for your help.
k
select name, count(*) as count;
 from mydata;
group by name;
having count > 1;
INTO CURSOR TEMPDUPLICATE
if _tally > 0
MessageBox("Alert: There are duplicates.")
browse normal
endif
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform