Solved

Need help creating a MS access Employee Equipment Tracking

Posted on 2010-08-16
7
435 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
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 
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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

I originally created this report in Crystal Reports 2008 where there is an option to underlay sections. I initially came across the problem in Access Reports where I was unable to run my border lines down through the entire page as I was using the P…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
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…
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …

746 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now