Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Delete rows best practices.
Message
De
19/10/2001 12:05:05
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
19/10/2001 12:02:06
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00570930
Message ID:
00570936
Vues:
24
>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)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform