Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Delete rows best practices.
Message
From
19/10/2001 12:05:05
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
19/10/2001 12:02:06
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00570930
Message ID:
00570936
Views:
22
>What are some possible best practices for deleting rows from tables from a command button on a form.
> 1. How will you select the row to delete.
> 2. When do you pack the tables to remove those that are marked for
> deletion.

1. Let the user select the record in a grid, and then press "Delete". Usually it is better to ask for confirmation.

2. Part of a maintenance program, which you might run, typically, once a month. In the meantime, SET DELETED ON will hide deleted records.

HTH, 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