Rexolio
Technical User
- Aug 29, 2001
- 230
Here are my tables:
tblClients
----------
ClientID (Identity Integer field, Index and Primary Key)
FName
LName
Blah blah blah
tblClient_Markets
------------------
ClientID (Int field)
MarketID (Int Field)
BOTH ARE THAT TABLES PRIMARY KEY
When I try to create a one to many relationship from tblClients to tblClient_Markets I get the following error:
'tblClients' table saved successfully
'tblClient_Markets' table
- Unable to create relationship 'FK_tblClient_Markets_tblClients'.
ODBC error: [Microsoft][ODBC SQL Server Driver][SQL Server]ALTER TABLE statement conflicted with COLUMN FOREIGN KEY constraint 'FK_tblClient_Markets_tblClients'. The conflict occurred in database 'perfectweddingguideSQL', table 'tblClients', column 'ClientID'.
HELP!!!![[bugeyed] [bugeyed] [bugeyed]](/data/assets/smilies/bugeyed.gif)
rexolio@bellsouth.net
"I'm not dumb. I just have a command of thoroughly useless information." - Calvin, of Calvin and Hobbes
tblClients
----------
ClientID (Identity Integer field, Index and Primary Key)
FName
LName
Blah blah blah
tblClient_Markets
------------------
ClientID (Int field)
MarketID (Int Field)
BOTH ARE THAT TABLES PRIMARY KEY
When I try to create a one to many relationship from tblClients to tblClient_Markets I get the following error:
'tblClients' table saved successfully
'tblClient_Markets' table
- Unable to create relationship 'FK_tblClient_Markets_tblClients'.
ODBC error: [Microsoft][ODBC SQL Server Driver][SQL Server]ALTER TABLE statement conflicted with COLUMN FOREIGN KEY constraint 'FK_tblClient_Markets_tblClients'. The conflict occurred in database 'perfectweddingguideSQL', table 'tblClients', column 'ClientID'.
HELP!!!
![[bugeyed] [bugeyed] [bugeyed]](/data/assets/smilies/bugeyed.gif)
rexolio@bellsouth.net
"I'm not dumb. I just have a command of thoroughly useless information." - Calvin, of Calvin and Hobbes