Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problems with Grids
Message
 
À
01/12/1997 13:38:18
Michael Knelsen
Technology Management Corporation
Regina, Saskatchewan, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00063026
Message ID:
00063091
Vues:
66
> If I have a default value, with a unique index on this field,

Unique indexes are usually considered bad things, since they don't reflect
what's in the table. Candidate indexes, otoh, restrict you from entering
duplicate values.

Also, if this is the field that relates the two tables, the user should
not have control over it. It should be a surrogate key, with no meaning
beyond relating the tables.

If your concern is only not saving a blank record, you can handle that
with a record-level rule, which will fire when the user tries to click
onto another record, if you are using record buffering.
My blog
My consulting page
My home page

Member of the Trim Your Auto-Quote Campaign!
What's another word for thesaurus?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform