Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems with Grids
Message
 
To
01/12/1997 13:38:18
Michael Knelsen
Technology Management Corporation
Regina, Saskatchewan, Canada
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00063026
Message ID:
00063091
Views:
72
> 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?
Previous
Reply
Map
View

Click here to load this message in the networking platform