Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Modifying Primary keys
Message
De
24/10/2002 11:25:29
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00714884
Message ID:
00714899
Vues:
16
>Hi,
>
>Is it a good practice to let users modify the 'Primary key' in a FoxPro table?

If you use surrogate keys is a bad bad idea.


>And if it is necessary that the primary keys be changed, would it be better to have a separate form/screen to handle this? I am afraid that if I let them change it on a form/screen where they can change evrery other value in the table, I might end up duplicating the records.

In a Client Mant Form, I have to change DNI (Unique Identification for person in Spain). The form can be in Consult mode state, and the user has to push a button to change the DNI field, nad I show a new window to intro the new DNI...

...But user are user...

José Luis.

Quidquid latine dictum sit, altum sonatur

Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform