Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Compute many operations
Message
 
 
To
09/09/2004 15:13:48
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00939290
Message ID:
00940828
Views:
28
Hi Mohammed,

I'm sorry, I accidentally updated your message. Anyway, the updated code is bellow:

>
>else && we exceed original number of records, just select all records for that team
>   select *, RECNO() as recnum from table1 WHERE AreaCode = m.lnAreaCode and Team = m.lnTeam  into cursor crsRand NOFILTER
>endif
>
>    ** Assuming that NewTable is our new table and it is already created and opened
>    SELECT 2
>    USE  table2
>     append from dbf("crsRand")
>   delete from table1 where recno() in (select RecNum from crsRand)
>
>thanks
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