Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Deleting
Message
De
09/08/2001 10:51:34
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
08/08/2001 18:54:47
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00541614
Message ID:
00541796
Vues:
17
>Dear All,
>ok, is me again, I really suck and new at this thing...
>what command can i use for a button in a form to delete the record. I just type delete and when I click the the button, the form with that record disappear but the record is still there.... I mean when I go to browse through the data file, it is still there and when I go to the report, the record I deleted still there
>Thanx
>Tom

As explained in the other answer you got, you have to check the PACK and SET DELETED ON commands.

Please note that PACK shouldn't be done after you delete every record - this would be very inefficient, and wouldn't allow multi-user. You can have a maintenance routine, that does the PACK once a month, for instance.

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform