G
Guest
I apologize before hand, but it seems that I am have no lack of words right
now:
I have a friend who has been creating their own database without regard, up
until this point, toward normalization. He knows I work in Access and has
asked for help. I have been working on alleviating the very obvious
(identical data should only be stored in one table, etc); but am having a
hard time grogging the next step:
My friend has created created a Products table, with ItemNo as the unique
identifier, this shares a relationship with a Distributors Authorized table,
which also has ItemNo as the unique identiier. I know that this will likely
need correction, but I'm a bit perplexed per the way it's set up.
He has roughly 50 fields named for each of his distributors, and has THEIR
item number placed in that field; my first instinct is to write a module to
split each of those fields out into a Distributors Table, then breake out the
non-null values contained under each distributors and use that with HIS
ItemNo to create a join table (essentially forming 3 tables from 2, using the
third to create a many to many relationship).
However; the way he has his data entry forms set up, and due to the large
number of items he has, I'm not sure this is the best way to go, as it could
require quite a bit of scrolling in order to locate his items from a combo
box/list box in order to assign his distributors item numbers to them, and it
won't easily display the null values where he might want to see that.
Is it better to essentially create a reverse crosstab with the module,
breaking out the fields that are distributor names into their own table, then
create an additional table with the DistributorID and the ItemNo to match
everything up? Should I leave these 50 or so Distributors as field names?
Thanks in advance for any help.
now:
I have a friend who has been creating their own database without regard, up
until this point, toward normalization. He knows I work in Access and has
asked for help. I have been working on alleviating the very obvious
(identical data should only be stored in one table, etc); but am having a
hard time grogging the next step:
My friend has created created a Products table, with ItemNo as the unique
identifier, this shares a relationship with a Distributors Authorized table,
which also has ItemNo as the unique identiier. I know that this will likely
need correction, but I'm a bit perplexed per the way it's set up.
He has roughly 50 fields named for each of his distributors, and has THEIR
item number placed in that field; my first instinct is to write a module to
split each of those fields out into a Distributors Table, then breake out the
non-null values contained under each distributors and use that with HIS
ItemNo to create a join table (essentially forming 3 tables from 2, using the
third to create a many to many relationship).
However; the way he has his data entry forms set up, and due to the large
number of items he has, I'm not sure this is the best way to go, as it could
require quite a bit of scrolling in order to locate his items from a combo
box/list box in order to assign his distributors item numbers to them, and it
won't easily display the null values where he might want to see that.
Is it better to essentially create a reverse crosstab with the module,
breaking out the fields that are distributor names into their own table, then
create an additional table with the DistributorID and the ItemNo to match
everything up? Should I leave these 50 or so Distributors as field names?
Thanks in advance for any help.