PC Review


Reply
Thread Tools Rate Thread

Circularly linking multiple records

 
 
jdpeterson
Guest
Posts: n/a
 
      8th Apr 2010
Hello,

I have two tables I wish to link together.

The first table contains records for multiple devices, i.e., two clocks,
five radios. I need it to contain a column linking to all the issues (RMAs)
associated with the device.

The second table contains the RMA number, with all the devices associated
with the RMA, i.e., one customer could send back one clock and two radios
under one RMA record.

I'm having a hard time visualizing how I can make the first table point to
multiple records in the second table, and the second table point to multiple
records in the first table.
 
Reply With Quote
 
 
 
 
Roger Carlson
Guest
Posts: n/a
 
      8th Apr 2010
You can't do that. What you have is a Many-To-Many relationship which can't
be directly implemented in Access (or any relational database that I know
of). In order to implement it, you have to create a third table (often
called an "intersection table" or a "linking table") which contains the a
foreign key to each of the other tables. Something like this

Device DeviceRMA RMA
====== ========= ======
DeviceID ---<DeviceID |--RMAID
(other RMAID >----| (other
fields) fields)

I have a more complete explanation on my blog here:
http://rogersaccessblog.blogspot.com...on-part-v.html

--
--Roger Carlson
MS Access MVP
Access Database Samples: www.rogersaccesslibrary.com
Want answers to your Access questions in your Email?
Free subscription:
http://peach.ease.lsoft.com/scripts/...UBED1=ACCESS-L


"jdpeterson" <(E-Mail Removed)> wrote in message
news:E44AF7E3-CDDC-4674-90AB-(E-Mail Removed)...
> Hello,
>
> I have two tables I wish to link together.
>
> The first table contains records for multiple devices, i.e., two clocks,
> five radios. I need it to contain a column linking to all the issues
> (RMAs)
> associated with the device.
>
> The second table contains the RMA number, with all the devices associated
> with the RMA, i.e., one customer could send back one clock and two radios
> under one RMA record.
>
> I'm having a hard time visualizing how I can make the first table point to
> multiple records in the second table, and the second table point to
> multiple
> records in the first table.



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Linking records together John W. Vinson Microsoft Access Getting Started 0 16th Feb 2011 04:51 PM
linking records =?Utf-8?B?Q29yZGVsbA==?= Microsoft Access 2 9th Mar 2006 02:01 PM
Linking multiple records David Price Microsoft Access 1 15th Apr 2005 11:28 PM
linking new records to existing records =?Utf-8?B?a2VpdGgubG9uZXlAcml2aWVyYWhvdXNpbmcub3Jn Microsoft Access Forms 0 14th Feb 2005 10:09 AM
Linking Records Keith Microsoft Access Database Table Design 0 20th Aug 2003 05:32 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:57 PM.