G
Guest
I have a DB I use for training records at work. The training records the
employees are trained on are called Standard Operating Procedures (SOPs).
The SOPs are placed in categories. There are 4 departments that perform SOP
training. The table I enter the SOPs into is called tblSOPs. It consists of
the following fields:
Field 1- SOPID (a unique number for each SOP - the number cannot be
duplicated)
Field 2- SOPTitle
Field 3- Category (Can be one or up to four categories per SOP - For
example: Department A may need to be trained on SOP 123. Department A, B, &
C may need to be trained on SOP 234. etc.)
I also have a table for categories. (tblCategory)
Dept. A has 7 categories
Dept. B has 2 categories
Dept. C has 7 categories
Dept. D has 8 categories
This table consists of the following fields:
Category
DeptID
Someone told me, if a SOP (for example) has 4 categories assigned to it,
(using my current table structure), enter it 4 times (4 different records)
(with different values in the SOPID field), with the same SOPTitle and
different categories in each
record. I cannot do that because the SOPID cannot be duplicated. I'm
confused as to what to do now. MY SOPID has to remain unique. How shoud I
change my table structure so I can enter up to 4 categories per SOP? Do you
need to see all of my tables in the DB and how they relate to one another to
resolve this issue? I really need help with this. If someone has any
suggestions, I would really appreciate some help.
Thank you, Karen
employees are trained on are called Standard Operating Procedures (SOPs).
The SOPs are placed in categories. There are 4 departments that perform SOP
training. The table I enter the SOPs into is called tblSOPs. It consists of
the following fields:
Field 1- SOPID (a unique number for each SOP - the number cannot be
duplicated)
Field 2- SOPTitle
Field 3- Category (Can be one or up to four categories per SOP - For
example: Department A may need to be trained on SOP 123. Department A, B, &
C may need to be trained on SOP 234. etc.)
I also have a table for categories. (tblCategory)
Dept. A has 7 categories
Dept. B has 2 categories
Dept. C has 7 categories
Dept. D has 8 categories
This table consists of the following fields:
Category
DeptID
Someone told me, if a SOP (for example) has 4 categories assigned to it,
(using my current table structure), enter it 4 times (4 different records)
(with different values in the SOPID field), with the same SOPTitle and
different categories in each
record. I cannot do that because the SOPID cannot be duplicated. I'm
confused as to what to do now. MY SOPID has to remain unique. How shoud I
change my table structure so I can enter up to 4 categories per SOP? Do you
need to see all of my tables in the DB and how they relate to one another to
resolve this issue? I really need help with this. If someone has any
suggestions, I would really appreciate some help.
Thank you, Karen