Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Scanning for repeated records in a table
Message
From
05/03/2007 09:46:11
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01200695
Message ID:
01200711
Views:
21
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 ?
Previous
Reply
Map
View

Click here to load this message in the networking platform