Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Need help creating a MS access Employee Equipment Tracking

Posted on 2010-08-16
7
Medium Priority
?
452 Views
Last Modified: 2013-12-20
I am starting to build an Access database that help me to keep track of Employees' equipment such as PC, Monitors, Printers,Blackberries, and software (Visio,Adobe;etc) and also I would like to keep track the date that each equipment has been installed. My idea is to have a table for each equipement and then the primary key of the employee table will be in each of the equipment tables. That way i create a one to many relatioship between employee and Pc and so on. The problem is that not every employee has a blackberry or a loptop, and most of employees have two monitors , so i am not sure if my idea will work well enough. Please can you assist me with this.
0
Comment
Question by:mitema2010
  • 5
  • 2
7 Comments
 
LVL 3

Expert Comment

by:AccessYourBiz_Com
ID: 33448596
I suggest using three tables: Employee, Equipment, and EmployeeEquipment
Anytime Equipment is given to an employee add a return in the EmployeeEquipment table. When it is returned you can delete the record.
If you want to keep history then you can include a "Status" field in the EmployeeEquipment table and instead of deleting the return in the EmpoyeeEquipment table, change the status to "Returned" and when you add a record to same, set the value of "Status" to be "Out" or something like that.
0
 
LVL 3

Expert Comment

by:AccessYourBiz_Com
ID: 33448624
oops, I made a typo, see word in CAPS for correction.
"Anytime Equipment is given to an employee add a RECORD in the EmployeeEquipment table. When it is returned you can delete the record.
If you want to keep history then you can include a "Status" field in the EmployeeEquipment table and instead of deleting the RECORD in the EmpoyeeEquipment table, change the status to "Returned" and when you add a record to same, set the value of "Status" to be "Out" or something like that...
0
 

Author Comment

by:mitema2010
ID: 33448740
Thank you AccessYourBiz ,
I want to keep track of the barcode , serial number ,model and date of installation of each equipment that the employees have , so whic table should held all the data mention above?
0
NEW Veeam Backup for Microsoft Office 365 1.5

With Office 365, it’s your data and your responsibility to protect it. NEW Veeam Backup for Microsoft Office 365 eliminates the risk of losing access to your Office 365 data.

 
LVL 3

Expert Comment

by:AccessYourBiz_Com
ID: 33448827
Keep them in the Equipment table. If you do want to keep history then you should keep the Date Of Installation in the EmployeeEquipment table. If you find this confusing then just keep it simple and put everything in the Equipment table.
0
 

Author Comment

by:mitema2010
ID: 33449428
Thank you again. I like the idea of 3 tables. So the EmployeeEquipment table have to have the primary key of the other two tables , right?
I am realizing that  I have to enter a record for each equipment that employees have ,but that  will create like 5 or more records per employee . Is it ok ?
0
 
LVL 3

Accepted Solution

by:
AccessYourBiz_Com earned 2000 total points
ID: 33449581
"Thank you again. I like the idea of 3 tables. So the EmployeeEquipment table have to have the primary key of the other two tables , right?"

Yes, that is right.

"I am realizing that  I have to enter a record for each equipment that employees have ,but that  will create like 5 or more records per employee . Is it ok ? "

Yes that is ok. For each peice of equipment an employee has there will be a corresponding record in the EmployeeEquipment table.
0
 
LVL 3

Expert Comment

by:AccessYourBiz_Com
ID: 33449595
I got so caught up in answering your question I forgot to say You are Welcome!! ;-)
0

Featured Post

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Microsoft Access is a place to store data within tables and represent this stored data using multiple database objects such as in form of macros, forms, reports, etc. After a MS Access database is created there is need to improve the performance and…
Code that checks the QuickBooks schema table for non-updateable fields and then disables those controls on a form so users don't try to update them.
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…
Suggested Courses

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question