Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Properly use of delete button

Status
Not open for further replies.

misulica

Programmer
Feb 8, 2003
43
RO
I use the Add and Delete buttons from VFP7 Wizard classes. So, through my form in can add records, but there is a problem to delete them, because the record i want to delete doesn't appeared in the form, but it still be present in the table.Please tell me how can i delete from table too.
Thanks
 
misulica

I use the Add and Delete buttons from VFP7 Wizard classes. So, through my form in can add records, but there is a problem to delete them, because the record i want to delete doesn't appeared in the form, but it still be present in the table.Please tell me how can i delete from table too.

When you delete a record, you are actually only "marking" a record to be deleted at a later. Some people might find that an advantage, to be able retrieve records that were de elete by mistake. But to remove records that are marked for deletion you need to PACK your table.
Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
 
Note: To do a PACK, you must be able to open the table EXCLUSIVE - not always possible in a multi-user environment.

Rick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top