New database for locker-room - schema idea

michal_e

New member
Local time
Today, 08:44
Joined
Oct 11, 2012
Messages
1
Hello,
I’m new here, so I suppose that my question and topic of the database were discussed many, many times:), but unfortunately I don’t understand everything, that’s why I want to ask people who have much more experience with databases. Becouse I need to exceptionally some simply database in Access, with is a bit something new for me. Topic of database is locker-room for production crews, so it’s a unit in factory, which assign for every employee a trousers, shoes, helmet, glasses and many other things, when He start work. Every employee also has of course individual locker. So for example. Mrs. John start His work in Juanary 2012, and He get:
- 4 pair of trousers
- 1 helmet
- 1 glasses
- 2 pair shoes
And for example after 6 month of work, He has been fired, so He gives back every item.
Now, the whole problem for me is how to create a database diagram to allow control every item given to each employee. I must point that those items don’t have any serial number or something, so one helmet is this same like second and so on. So I only need to have actual number of every item given to employee.
Continuing my example, after Mrs John gives back everything, his card file should indicate: (0 pair of trousers, 0 helmet etc.)
I really don’t know how to realize it, If there were only one thing prescribed to user, I think that I would know how to do it, but here I have about 10 items, which I need to control:(. Please, I would be very very very gratefuly for any advice, and helpL.
Below I attach 2 difrent ideas of my think, but any of those aren’t good ( I suppose :) )
P.S Sorry for my english, but I’m from Poland.
 

Attachments

  • case 1.png
    case 1.png
    44.6 KB · Views: 284
  • case 2.png
    case 2.png
    58.4 KB · Views: 273
Hmm... How about...

frmItemIssue
Autonumber: pkID
Lookup: fkEmployeeID
Trouser: 1
Helmet: 1
Glasses: 1

frmItemReturn
Autonumber: pkID
Lookup: fkEmployeeID
Trouser: 1
Helmet: 1
Glasses: 1

fkEmployeeID will show the initial transaction with a negative balance ("Employee owes 5 items! Do not let employee out-process!"). But if the final transaction balances out the form, it will read "Employee's account is balanced!"... Entries will have to be done manually of course... but you can set defaults however you'd like..

Hope this helps.
 

Users who are viewing this thread

Back
Top Bottom