Re: Associating records in same table.
- From: "Gina Whipp" <NotInterested@xxxxxxxxxxxxx>
- Date: Mon, 27 Jul 2009 14:47:26 -0400
TryIt,
Yes that is what we both are suggesting BUT now the concern is the size of
your database. Have you run compact and repair? How big is your database?
--
Gina Whipp
"I feel I have been denied critical, need to know, information!" - Tremors
II
http://www.regina-whipp.com/index_files/TipList.htm
"tryit" <tryit.ca@xxxxxxxxx> wrote in message
news:a1edec10-37f8-44fe-934a-3d5c8d525e40@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On Jul 27, 11:08 am, KARL DEWEY <KARLDE...@xxxxxxxxxxxxxxxxxxxxxxxxx>
wrote:
You need the ID_Record to be primary key. Use a matching field for your
'See_Also' field (PK - Autonumber, FK - number long integer).
Open the Relationship window, put the table twice in the window (Access
adds
a sufix of '_1' to the second instance). Click on the primay key field of
the first instance and drag to the 'See_Also' field of the second
instance.
Select Referential Integerity and Cascade Update.
Use a form/subform to display Item/See_Also's. When you select a record
using a combo box to the subform it will automatically insert the Item's
ID
to the See_Also record.
An item can have multiple See_Also but a record can only be 'seen' by one
item. If you need more than one then that is where you would need a
junction
table.
Hi Karl.
It sounds like both you and Gina are suggesting that, if I want to
have an association between one record and multiple records in the
same table, that I would need to set up a junction table between two
instances of the same table in the Relationships window. Is that the
way it would work?
Unfortunately, I don't think I can modify the primary key at this
point. I have tried that before and I get a warning saying access
will not allow that since the db is too big. Is that really
necessary?
Thanks,
TI
.
- Follow-Ups:
- Re: Associating records in same table.
- From: tryit
- Re: Associating records in same table.
- References:
- Associating records in same table.
- From: tryit
- RE: Associating records in same table.
- From: KARL DEWEY
- Re: Associating records in same table.
- From: tryit
- Associating records in same table.
- Prev by Date: Re: Associating records in same table.
- Next by Date: Re: odd subform which is on the one side of a one to many relation
- Previous by thread: Re: Associating records in same table.
- Next by thread: Re: Associating records in same table.
- Index(es):
Relevant Pages
|