|
Home > Archive > Programming with dBASE > July 2005 > Key field disabled
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Key field disabled
|
|
| Maxine 2005-07-19, 11:23 am |
| I used the one of the kmtoolbars for the add, edit, abandon, save. Somehow when I use edit, the key (one field, 32 chars) is disabled. Does it have to do with how keys are defined? Any hints are appreciated.
Thx
| |
|
| HI,
You don't want to be editing key fields if possible. Once you have a value
in there. It should remain. Because you might have foreign keys that rely on
that key, if changed, you would then have problems if the changes are not
cascaded properly
Robert
"Maxine" <mml8706@pacbell.net> wrote in message
news:GwEEnTHjFHA.432@news-server...
> I used the one of the kmtoolbars for the add, edit, abandon, save.
Somehow when I use edit, the key (one field, 32 chars) is disabled. Does it
have to do with how keys are defined? Any hints are appreciated.
> Thx
>
| |
| Maxine 2005-07-28, 3:23 am |
| I only want to be able to add to a key field in add mode.
rb Wrote:
> HI,
>
> You don't want to be editing key fields if possible. Once you have a value
> in there. It should remain. Because you might have foreign keys that rely on
> that key, if changed, you would then have problems if the changes are not
> cascaded properly
>
>
> Robert
>
> "Maxine" <mml8706@pacbell.net> wrote in message
> news:GwEEnTHjFHA.432@news-server...
> Somehow when I use edit, the key (one field, 32 chars) is disabled. Does it
> have to do with how keys are defined? Any hints are appreciated.
>
>
| |
|
| HI Maxine,
The next question I would ask is?
How is the key field made up. I tend to stay away from human generated key
fields, as we humans suffer from a memory loss disorder, so we are prone to
duplicate stuff a lot. I like to let the System generate a key. In so doing,
my users never need to edit or add the key field, this is done via the app.
Robert
"Maxine" <mml8706@pacbell.net> wrote in message
news:HfAjwq0kFHA.1756@news-server...
> I only want to be able to add to a key field in add mode.
>
> rb Wrote:
>
value[color=darkred]
rely on[color=darkred]
not[color=darkred]
Does it[color=darkred]
>
|
|
|
|
|