Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Scanning for repeated records in a table
Message
De
05/03/2007 09:46:11
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01200695
Message ID:
01200711
Vues:
20
This message has been marked as the solution to the initial question of the thread.
hi,
this code from (Mr.Cetin) send it to me before, i hope this code help you,
use myTable exclusive
index on yourfield tag yourfield
select sys(2015) as SortOrder,* from myTable ;
 order by 1 descending ;
 into cursor crsTemp nofilter
select myTable
zap
select crsTemp
scan
 if !seek(yourfield,'myTable','yourfield')
   scatter memvar memo
   insert into myTable from memvar
 endif
endscan
>How would you use scan command to look for repeated records in a table ?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform