Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Deleting
Message
From
09/08/2001 10:51:34
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
08/08/2001 18:54:47
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00541614
Message ID:
00541796
Views:
21
>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)
Previous
Reply
Map
View

Click here to load this message in the networking platform