Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Duplicated records
Message
From
05/07/2007 04:01:21
 
 
To
05/07/2007 03:04:10
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01237825
Message ID:
01237831
Views:
19
>hi all,
>
>i try as under to finde the duplicted records, not works any idea
>thanks
>
>CLOSE all
>USE tty in 0
>m.telno=telno
>INDEX on telno TO gg
>
>SCAN FOR telno==m.telno
>  IF FOUND()
>     replace typ WITH 1
>   ENDIF
>ENDSCAN
>brow
>
>
>
>thanks

To locate the duplicates, you can use this code.
Select tty.telno from tty group by tty.telno having count(*)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform