G
gtangjr
Greetings Access Geniuses,
I work for a very large company (100,000+ employees) as a paralegal. I
was hired because of my potent combination of legal and technical
knowledge.
Currently, my team has a serious problem concerning the management of
data relating to a series of products and associated processes. I'll
try to describe the DB I am trying to build that will help alleviate a
significant portion of that problem in time for our huge push during
the period between March and April.
Currently, I am managing 20 different tables.The two main tables are
our major product lines. We'll call them PL1 and PL2. The data
captured on these two tables illustrates each product assicated with
the product lines. We'll call these records PL1.1, PL1.2..., PL2.1,
PL2.2..., and so on.
There are also the following tables that list what we'll call "Simple
Data":
Features ("F"),
ID Number ("ID"),
ID Number 2 ("ID2"),
ID Number 3 ("ID3"),
ID Number 4 ("ID4"),
ID Number 5 ("ID5"),
Fiscal Year End ("FYE"),
Annual Update Date ("AUD"),
Surrender Period ("SP"),
Launch Date ("LD"), and
Status ("S")
G/Non-G ("GNG")
I should note that all the above tables only have one column. Also,
the tables called "ID..." are not in reference to primary keys, but
show product ID's corresponding to different sources. Just trust me
when I say they need five different ones, even though it looks silly
on paper.
Lastly, there are the following tables that list what we will call
"Complex Data":
-Portfolio/Sub ("PS") - This table has two columns, one for Portfolio
and one for Sub.
-TP Version ("TPV") - Simple table with a list of version numbers.
-P Trust ("PT") - A list of the P Trusts
-T Booklet Version ("TBV") - Two columns, one listing the version
names, another with the contents of the
corresponding version.
-Non-P Trust ("NPT") - A list of the Non-P Trusts
-Share Class ("SC") - A list of the Share Classes.
With these tables, the problem I am trying to solve is this. For each
product in a particular PL, we need to see a lot of information (hence
all the tables). If I were to generate a form, one would be able to
select a product, say PL1.1, and instantly see the following
specifically tailored information:
F
ID
ID2
ID3
ID4
ID5
FYE
AUD
SP
LD
S
GNG
PS
TPV
PT
TBV
NPT
SC
With respect to the Simple Data, the relationships are easy. Each of
F, ID, ID2, ID3, ID4, ID5, FYE, AUD, SP, LD, S, and GNG are related to
their corresponding PLs. What's important is that only specific
records from each of these show, however. For example, PL1.1 might
only get F1, F3, F4 and F5, even though the list of F's goes from
1-20. Additionally, it would only get one ID from each of the ID
tables, even though there are 50-60 ID numbers per table. I think you
get the point.
With respect to the Complex Data, the relationships are not so clear
cut. Here is how it breaks down. (We'll only use one PL because the
exact same applies to both PL1 and PL2.)
PL1 has a certain series of PS's associated with it (PS1, PS3, PS4...)
out of a list of about 60 PS's. It also has a series of related PT's
and NPT's. Within the NPT's there are TBV's. Within the TBV's there
are TPV's. Finally, each PS is associated with an SC.
So, PL > PS > PT/NPT > TBV > TPV, and PS > SC.
Where it gets even trickier is the each PS record is associated with a
corresponding SC. Based on the above flow, if you choose a PL record,
you should see all the PS's, PT's, NPT's, and so on associated with it
(in addition to the Simple Data above). However, the problem is that
an SC might be the same (i.e. SC1), but might exist within more than
one TPV associated within different PS's.
I'm 100% certain I did a poor job of explaining that. Sorry. I tried
my best.
Now that you have an overview, I'd like to know the following:
How should I set up the actual relationships? How should I assign
primary keys? Is a form the best way to achieve my purpose? Should I
use this many tables, or combine the data into one table and just
point the relationships to the correct field names? Is there anything
else I should know?
Thanks so, so much in advance for any assistance.
Best,
G
PS - Using Access 2003
I work for a very large company (100,000+ employees) as a paralegal. I
was hired because of my potent combination of legal and technical
knowledge.
Currently, my team has a serious problem concerning the management of
data relating to a series of products and associated processes. I'll
try to describe the DB I am trying to build that will help alleviate a
significant portion of that problem in time for our huge push during
the period between March and April.
Currently, I am managing 20 different tables.The two main tables are
our major product lines. We'll call them PL1 and PL2. The data
captured on these two tables illustrates each product assicated with
the product lines. We'll call these records PL1.1, PL1.2..., PL2.1,
PL2.2..., and so on.
There are also the following tables that list what we'll call "Simple
Data":
Features ("F"),
ID Number ("ID"),
ID Number 2 ("ID2"),
ID Number 3 ("ID3"),
ID Number 4 ("ID4"),
ID Number 5 ("ID5"),
Fiscal Year End ("FYE"),
Annual Update Date ("AUD"),
Surrender Period ("SP"),
Launch Date ("LD"), and
Status ("S")
G/Non-G ("GNG")
I should note that all the above tables only have one column. Also,
the tables called "ID..." are not in reference to primary keys, but
show product ID's corresponding to different sources. Just trust me
when I say they need five different ones, even though it looks silly
on paper.
Lastly, there are the following tables that list what we will call
"Complex Data":
-Portfolio/Sub ("PS") - This table has two columns, one for Portfolio
and one for Sub.
-TP Version ("TPV") - Simple table with a list of version numbers.
-P Trust ("PT") - A list of the P Trusts
-T Booklet Version ("TBV") - Two columns, one listing the version
names, another with the contents of the
corresponding version.
-Non-P Trust ("NPT") - A list of the Non-P Trusts
-Share Class ("SC") - A list of the Share Classes.
With these tables, the problem I am trying to solve is this. For each
product in a particular PL, we need to see a lot of information (hence
all the tables). If I were to generate a form, one would be able to
select a product, say PL1.1, and instantly see the following
specifically tailored information:
F
ID
ID2
ID3
ID4
ID5
FYE
AUD
SP
LD
S
GNG
PS
TPV
PT
TBV
NPT
SC
With respect to the Simple Data, the relationships are easy. Each of
F, ID, ID2, ID3, ID4, ID5, FYE, AUD, SP, LD, S, and GNG are related to
their corresponding PLs. What's important is that only specific
records from each of these show, however. For example, PL1.1 might
only get F1, F3, F4 and F5, even though the list of F's goes from
1-20. Additionally, it would only get one ID from each of the ID
tables, even though there are 50-60 ID numbers per table. I think you
get the point.
With respect to the Complex Data, the relationships are not so clear
cut. Here is how it breaks down. (We'll only use one PL because the
exact same applies to both PL1 and PL2.)
PL1 has a certain series of PS's associated with it (PS1, PS3, PS4...)
out of a list of about 60 PS's. It also has a series of related PT's
and NPT's. Within the NPT's there are TBV's. Within the TBV's there
are TPV's. Finally, each PS is associated with an SC.
So, PL > PS > PT/NPT > TBV > TPV, and PS > SC.
Where it gets even trickier is the each PS record is associated with a
corresponding SC. Based on the above flow, if you choose a PL record,
you should see all the PS's, PT's, NPT's, and so on associated with it
(in addition to the Simple Data above). However, the problem is that
an SC might be the same (i.e. SC1), but might exist within more than
one TPV associated within different PS's.
I'm 100% certain I did a poor job of explaining that. Sorry. I tried
my best.
Now that you have an overview, I'd like to know the following:
How should I set up the actual relationships? How should I assign
primary keys? Is a form the best way to achieve my purpose? Should I
use this many tables, or combine the data into one table and just
point the relationships to the correct field names? Is there anything
else I should know?
Thanks so, so much in advance for any assistance.
Best,
G
PS - Using Access 2003