Re: Rolling Up 3 Separate Tables
- From: Fred <Fred@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 23 Jan 2009 12:15:01 -0800
Regarding developer stuff, I'm several levels below Karl and John, which
might be a plus in this case.
You need to start with table structure.....decide what is the data and
relationships that you are going to database. Sounds like you decided on the
main entities that you are databasing, but not the relationships.
Relationships are something that exist in the real world which you record in
your database. Sounds like the candidartes for the relationships to be
recorded are:
- This office is underneath the following Branch/Organization
- This Department/Organization underneath the following Department/Agency
- This publication is directly a product of the following entity:
While drawing lines between tables etc. (or writing SQL statement) is a part
of linking, the real linking is record to record, and the real work of
linking is done by:
- putting a FK into a table for the purpose of that particular link
- link two records by placing a value that matches one table int the FK
field of another record in the other table.
I'm sure folks would be happy to help with those fundemantal, and knowing
what you are trying to get to would help give that advice, but you'd also
have to clarify some of what you said on the latter including:
- What do mean by "roll up?"
- when you say "I'd like to be able to select from the PUBLICATIONS table, but
want to avoid having to separately select through links OFFICE, BRANCH,
DEPARTMENT." What do you mean? You don't have to go through other tables
to look at your publications table.
Hope that helps a little.
.
- References:
- Rolling Up 3 Separate Tables
- From: oftenconfused
- Re: Rolling Up 3 Separate Tables
- From: John W . Vinson
- Rolling Up 3 Separate Tables
- Prev by Date: RE: Rolling Up 3 Separate Tables
- Next by Date: HOW do I insert a number in a field....
- Previous by thread: Re: Rolling Up 3 Separate Tables
- Next by thread: Input into Form adds extra blank row in Datasheet
- Index(es):
Relevant Pages
|