dbTalk Databases Forums  

On to one relationships

comp.database.ms-access comp.database.ms-access


Discuss On to one relationships in the comp.database.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
matx
 
Posts: n/a

Default On to one relationships - 05-15-2004 , 11:02 AM






Hi,

i have designed a stock control database for a project.

I have a table called Stock (holds number of items in stock) and one
called items (all the items details such as supplier and minium stock)

Well, the same item cant appear twice in the stock table or the items
table so i want to create a one to one relationship. However access
2000 will only let me create a one to many relationship

how do i do a one to one relationship in access 2000?

Many thanks

Reply With Quote
  #2  
Old   
matx
 
Posts: n/a

Default Re: On to one relationships - 05-16-2004 , 09:24 AM






Thanks,

i managed to work out how to do a 1 to 1 relationship. I made the
attributes within my two tables indexed with no duplicates. this
solved the problem!

I wanted two tables to keep it tidy, but its a college project so im
still learning


Thanks

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.