Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting rid of deleted records
Message
 
 
To
13/09/2001 09:38:32
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00555845
Message ID:
00555893
Views:
22
This message has been marked as the solution to the initial question of the thread.
If you don't mind R/O cursor as result than
Select * ;
	From temp ;
	Into Cursor Temp

* The following code will make it R/W again
Use (Dbf("Temp")) Again In 0 Alias Temp1
Use in Temp
Use (Dbf("Temp1")) Again In 0 Alias Temp
Use in Temp1
Select Temp

* Or if you requeire R/W cursor
Select * ;
	From temp ;
	Into Cursor Temp1
Select Temp
Zap
Append From (Dbf("temp1"))
Use in temp1
>Hi Hector
>
>Yes I realize that closing a cursor will get rid of all records but I want to keep the non-deleted records. I also understand that I can copy to another table/cursor or append non-deleted records into another table/cursor but I was wondering if there was one of those magic "one-liners" that Cetin/Vlad/Sergey et al sometimes come up with :)
>
>Thanks
>
>Jos
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform