Solved

Need help creating a MS access Employee Equipment Tracking

Posted on 2010-08-16
7
448 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

 
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 500 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

AutoNumbers should increment automatically, without duplicates.  But sometimes something goes wrong, and the next AutoNumber value is a duplicate.  This article shows how to recover from this problem.
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses
Course of the Month11 days, 9 hours left to enroll

623 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