A
Aria
Hi,
I'm still struggling to organize my tables and fields but I'm not as
*totally confused* as my original post; at least I hope I'm not. I'm new to
Access. This is my first database and I fluctuate between feeling hopeful I
can do this one minute and despairing that I can't the next because I've
thought of yet another complication that I don't know how to handle. I have
scoured the Internet and this disscussion group searching for the answers
that I need. I found some but I am still at a loss as to what to do about
others. I was wondering if someone would be kind enough to review my table
structure and respond to some questions at the end. I am truly grateful.
The information is as follows:
tblEmployees
Inactive- Yes/No
Date- Date/Time
Date Modified- Date/Time
Employee ID- (PK) Auto number Long Integer
School Data (Classification, Title, Dept. Name, Subject)- text
Personal Info (LN FN MI etc.)- text
Emergency Info - text
tblKeys
Key ID (PK)- text
Campus- text
Wing- text
RoomType(Classroom, Auditorium, Grand Master, etc.)- text
tblKeysEmployees
Key ID- composite key(FK to tblKeys)- text
EmployeeID-composite key (FK to tblEmployees)- Autonumber
tblKeysRequests
Request ID-Autonumber
Key ID (FK to tblKeys)- text
Emp. ID
Rm. number- text--I think there is a problem here. This info is part of
tblrooms.
Rm. phone- text
Date Requested- Date/time
Date Recvd.- Date/time
Date Issued- Date/time
tblRooms
Key ID (PK)-text
Room number- text
Remarks-text
tblSubs
Sub ID (PK)-Autonumber
SubLN-text
SubFN-text
MI-text
SubPhone-text
Key ID (FK to tblKeys)
Date Issued-Date/Time
Date Returned-Date/Time
If you're still reading, I have the following questions:
1. How many fields are too many in a table? I understand that Access will
accept up to 255. I read a post that suggested that 20-30 fields may indicate
there may be a normalization problem. I'm wondering about tblEmployees where
there are approx. 25 fields.
2.tblRooms has a field for Rm.#; the problem is that not all rooms have a #.
Ex.-Storage rms., clinic, auditorium, etc. This is why I added remarks to
tblRooms because I may have to describe a location rather than a room #. Will
there be a problem with this method?
One of the desired reports is a reverse directory by room #/room phone #.
The phone # is currently in tblEmployees. Should it be moved to tblRooms? If
I leave it where it is, will I be able to update any queries and reports?
I've read that multitable queries aren't updateable. We have had mass staff
room changes right before the school year begins. It just seems it would be
better if the phone # was listed with tblRooms but someone told me that's
incorrect.
3. I forgot to include the following fields: Date assigned, Return Date and
Permission to Retain (over the summer) for Emp. Keys. Should this be added to
tblKeys or tblEmployees? I was told not to put *anything* into the junction
table (tblKeysEmployees) besides the composite key already listed.
4.Keys Requests--Somethimes are request will not have a name associated with
it. For instance, we need to request a key for the vault. I have not
accounted for this situation and don't know how to handle it. If I need to
order a sub. key, I can use the name of the permanent staff member associated
with that room. What do I do about the vault? Should I enter "vault" in the
emp. table w/o any additional data?
5. Maybe I should cross this bridge when I get to it but I eventually will
get to the point where I will make forms and subforms. There are approx. 400
seperate keys, not including multiple copies of the same key. If I have a
combo box, is there a way to filter so that I am not looking at all 400
possiblities at once?
I am so sorry if this is too long and I'm asking too many questions at once.
I understand that you are trying to help as many people as possible. I have
searched and searched for answers and tried to adapt the customers/orders
format as much as possible to my situation but...I need help.
I'm still struggling to organize my tables and fields but I'm not as
*totally confused* as my original post; at least I hope I'm not. I'm new to
Access. This is my first database and I fluctuate between feeling hopeful I
can do this one minute and despairing that I can't the next because I've
thought of yet another complication that I don't know how to handle. I have
scoured the Internet and this disscussion group searching for the answers
that I need. I found some but I am still at a loss as to what to do about
others. I was wondering if someone would be kind enough to review my table
structure and respond to some questions at the end. I am truly grateful.
The information is as follows:
tblEmployees
Inactive- Yes/No
Date- Date/Time
Date Modified- Date/Time
Employee ID- (PK) Auto number Long Integer
School Data (Classification, Title, Dept. Name, Subject)- text
Personal Info (LN FN MI etc.)- text
Emergency Info - text
tblKeys
Key ID (PK)- text
Campus- text
Wing- text
RoomType(Classroom, Auditorium, Grand Master, etc.)- text
tblKeysEmployees
Key ID- composite key(FK to tblKeys)- text
EmployeeID-composite key (FK to tblEmployees)- Autonumber
tblKeysRequests
Request ID-Autonumber
Key ID (FK to tblKeys)- text
Emp. ID
Rm. number- text--I think there is a problem here. This info is part of
tblrooms.
Rm. phone- text
Date Requested- Date/time
Date Recvd.- Date/time
Date Issued- Date/time
tblRooms
Key ID (PK)-text
Room number- text
Remarks-text
tblSubs
Sub ID (PK)-Autonumber
SubLN-text
SubFN-text
MI-text
SubPhone-text
Key ID (FK to tblKeys)
Date Issued-Date/Time
Date Returned-Date/Time
If you're still reading, I have the following questions:
1. How many fields are too many in a table? I understand that Access will
accept up to 255. I read a post that suggested that 20-30 fields may indicate
there may be a normalization problem. I'm wondering about tblEmployees where
there are approx. 25 fields.
2.tblRooms has a field for Rm.#; the problem is that not all rooms have a #.
Ex.-Storage rms., clinic, auditorium, etc. This is why I added remarks to
tblRooms because I may have to describe a location rather than a room #. Will
there be a problem with this method?
One of the desired reports is a reverse directory by room #/room phone #.
The phone # is currently in tblEmployees. Should it be moved to tblRooms? If
I leave it where it is, will I be able to update any queries and reports?
I've read that multitable queries aren't updateable. We have had mass staff
room changes right before the school year begins. It just seems it would be
better if the phone # was listed with tblRooms but someone told me that's
incorrect.
3. I forgot to include the following fields: Date assigned, Return Date and
Permission to Retain (over the summer) for Emp. Keys. Should this be added to
tblKeys or tblEmployees? I was told not to put *anything* into the junction
table (tblKeysEmployees) besides the composite key already listed.
4.Keys Requests--Somethimes are request will not have a name associated with
it. For instance, we need to request a key for the vault. I have not
accounted for this situation and don't know how to handle it. If I need to
order a sub. key, I can use the name of the permanent staff member associated
with that room. What do I do about the vault? Should I enter "vault" in the
emp. table w/o any additional data?
5. Maybe I should cross this bridge when I get to it but I eventually will
get to the point where I will make forms and subforms. There are approx. 400
seperate keys, not including multiple copies of the same key. If I have a
combo box, is there a way to filter so that I am not looking at all 400
possiblities at once?
I am so sorry if this is too long and I'm asking too many questions at once.
I understand that you are trying to help as many people as possible. I have
searched and searched for answers and tried to adapt the customers/orders
format as much as possible to my situation but...I need help.