Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting rid of deleted records
Message
 
 
À
13/09/2001 09:38:32
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00555845
Message ID:
00555893
Vues:
21
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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform