Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Repeated records
Message
 
 
To
02/08/2007 12:17:14
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
MS SQL Server
Miscellaneous
Thread ID:
01245292
Message ID:
01245534
Views:
20
>Naomi,
>
>select testdup
>set order to CompMe
>go top
>*-- init to unequal to save cycles in loop
>lcCompMe = iif(testdup.CompMe=="!", "?", "!")
>scan
> if m.lcCompMe == testdup.CompMe
>   delete while m.lcCompMe == testdup.CompMe
> endif
> lcCompMe = testdup.CompMe
>endscan
>
>should be enough, as the delete positions on the next "different".
>Not tested... just secondary brain thinking while driving
>
>regards
>
>thomas

Are you saying that you can drive and type at the same time? :)

Sorry, can not resist.

I haven't looked at the code today yet, will do at night.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform