 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Uwe Mueller Guest
|
Posted: Sun Sep 05, 2004 6:15 pm Post subject: Defining referential integrity not possible |
|
|
Hello,
I have two tables (of the order/items type as in BCDEMO) on which I want
to define referential integrity with the Borland Database Desktop. But
it seems to not let me do this. When I am in the dialogue for
referential integrity and I define the foreign key in both tables the OK
button is still grayed.
Both keys have the same data type (integer), they have the same name
(even if I don't think that's necessary) and it generally looks like the
example in BCDEMO. But it doesn't let me save it.
I have C++ Builder 5.0 Prof, DBD 7.0, Paradox driver 4.0. Does anyone
has an idea?
Thx in advance
Uwe
|
|
| Back to top |
|
 |
Uwe Mueller Guest
|
Posted: Sun Sep 05, 2004 10:22 pm Post subject: Re: Defining referential integrity not possible |
|
|
Uwe Mueller wrote:
| Quote: | I have two tables (of the order/items type as in BCDEMO) on which I
want to define referential integrity with the Borland Database
Desktop. But it seems to not let me do this. When I am in the
dialogue for referential integrity and I define the foreign key in
both tables the OK button is still grayed.
Both keys have the same data type (integer), they have the same name
(even if I don't think that's necessary) and it generally looks like
the example in BCDEMO. But it doesn't let me save it.
|
Ok, problem already solved. I defined too many keys in the order table
(I obviously didn't understand correctly what keys are for), and until
each key has a foreign key assigned the OK button remains grayed.
Uwe
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|