>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)