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

i'll try ,but still delete all records.
i'll try for other places same,

See corrections inline
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform