equipment control db

scottappleford

Registered User.
Local time
Today, 07:48
Joined
Dec 10, 2002
Messages
134
Hi

I am new to db and would like to do a simple db for items of equipment going out and coming back in showing who has been allocated what.

So one person could have many item but the item can only be issued once until it is booked back in. I would also like a history of transactions.

Only something simple, so we have a record who has what if we need to find something and when they had it etc.

Many Thanks

Scott
 
So what have you done so far? :confused: Hard to tell from your post what the problem actually is

List the tables you have, and their relationships

Col
 
There are often questions psoted about this form of application. Do a search and you may find some examples that will get you started.
 
Thanks for helping

Hi Neil

Basically i have not done too much.

I create three tables.

One for the employee - name, department etc
One for the Equipment - make, model etc
One for the transaction - date out, date in etc.
I then put the employee id and equipment id fields into the transaction table and created a one to many relationship - one being the employee/equipemnt and many being transaction.

I then created a form but thats as far as i got because it will not let me enter data?

Thankyou

Scott
 
Thanks for helping

Hi Neil

Basically i have not done too much.

I create three tables.

One for the employee - name, department etc
One for the Equipment - make, model etc
One for the transaction - date out, date in etc.
I then put the employee id and equipment id fields into the transaction table and created a one to many relationship - one being the employee/equipment and many being transaction.

I then created a form but thats as far as i got because it will not let me enter data?

Thankyou

Scott
 
You have a many to many relationship. Your transaction table is known as the junction table. It should hold the PK of the equipment and the PK of the employee.

Do a search in these forums for many to many relationships. There's plenty of help.
 

Users who are viewing this thread

Back
Top Bottom