BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Defining referential integrity not possible

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder Databases (Desktop)
View previous topic :: View next topic  
Author Message
Uwe Mueller
Guest





PostPosted: Sun Sep 05, 2004 6:15 pm    Post subject: Defining referential integrity not possible Reply with quote



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





PostPosted: Sun Sep 05, 2004 10:22 pm    Post subject: Re: Defining referential integrity not possible Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder Databases (Desktop) All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.