PC Review


Reply
Thread Tools Rate Thread

Adding a second employee to an event

 
 
rickzman
Guest
Posts: n/a
 
      8th Mar 2010
I have built an Operations Log database. In the database I have built built
the following tables.
tblLab(Lab where testing will occur)
tblCustomer(customer who will test)
tblEquipment(each piece of equipment we operate)
tblEvent(particulars of event, i.e. startdate, starttime, enddate, endtime,
purpose, employeeID)
tblEventDetails(set up like an order, where the customer "orders" each piece
of equipmnet for the event)
tblEmployees(all possible employees from my group)

Relationships have been laid out and the database is functioning properly if
I only use one employee per event.

Queries have been built and calculations for TotalHrs have been injected
into the query in order to keep track of hours for the month. Caculations
work.

My question is how do I show another employee for those events where it
takes 2 employees to support the event? Then how would I calculate the times
in order to show that both employees had hours to charge against the
event(i.e 8 hour event which took 2 employees each charging time to the event
for a total of 16 man hours charged to the customer)?

I hope that I explained it so you can understand, I am in need of help!
 
Reply With Quote
 
 
 
 
Steve
Guest
Posts: n/a
 
      8th Mar 2010
Hello Rick,

TblEvent should have a primary key of EventID. Remove EmployeeID from
TblEvent. Create a new table named TblEventEmployee that looks like:
TblEventEmployee
EventEmployeeID
EventID
EmployeeID

You then need a form/subform for data entry. The main form will be based on
TblEvent and the subform will be based on TblEventEmployee. Make the subform
a continuous form. Set the LinkMaster and LinkChild properties to EventID.
Now you will be able to enter events in the hain form and enter a list of
employees that support the event in the subform.

Steve
(E-Mail Removed)


"rickzman" <(E-Mail Removed)> wrote in message
news:8BC3B5B1-1D95-431F-A4C9-(E-Mail Removed)...
>I have built an Operations Log database. In the database I have built
>built
> the following tables.
> tblLab(Lab where testing will occur)
> tblCustomer(customer who will test)
> tblEquipment(each piece of equipment we operate)
> tblEvent(particulars of event, i.e. startdate, starttime, enddate,
> endtime,
> purpose, employeeID)
> tblEventDetails(set up like an order, where the customer "orders" each
> piece
> of equipmnet for the event)
> tblEmployees(all possible employees from my group)
>
> Relationships have been laid out and the database is functioning properly
> if
> I only use one employee per event.
>
> Queries have been built and calculations for TotalHrs have been injected
> into the query in order to keep track of hours for the month. Caculations
> work.
>
> My question is how do I show another employee for those events where it
> takes 2 employees to support the event? Then how would I calculate the
> times
> in order to show that both employees had hours to charge against the
> event(i.e 8 hour event which took 2 employees each charging time to the
> event
> for a total of 16 man hours charged to the customer)?
>
> I hope that I explained it so you can understand, I am in need of help!



 
Reply With Quote
 
KARL DEWEY
Guest
Posts: n/a
 
      8th Mar 2010
Create a tblEventEmployees like you did for tblEventDetails with equipment.
--
Build a little, test a little.


"rickzman" wrote:

> I have built an Operations Log database. In the database I have built built
> the following tables.
> tblLab(Lab where testing will occur)
> tblCustomer(customer who will test)
> tblEquipment(each piece of equipment we operate)
> tblEvent(particulars of event, i.e. startdate, starttime, enddate, endtime,
> purpose, employeeID)
> tblEventDetails(set up like an order, where the customer "orders" each piece
> of equipmnet for the event)
> tblEmployees(all possible employees from my group)
>
> Relationships have been laid out and the database is functioning properly if
> I only use one employee per event.
>
> Queries have been built and calculations for TotalHrs have been injected
> into the query in order to keep track of hours for the month. Caculations
> work.
>
> My question is how do I show another employee for those events where it
> takes 2 employees to support the event? Then how would I calculate the times
> in order to show that both employees had hours to charge against the
> event(i.e 8 hour event which took 2 employees each charging time to the event
> for a total of 16 man hours charged to the customer)?
>
> I hope that I explained it so you can understand, I am in need of help!

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting another employee's data from the Employee table, and text innumber fields Lostguy Microsoft Access 3 27th Nov 2008 04:40 AM
Choosing and Event and Employee from Existing DATA =?Utf-8?B?Y2JheWFyZG8=?= Microsoft Access Database Table Design 1 30th Aug 2007 09:58 AM
Outlook 2003 Installed-Employee Quit-Set up new Employee in Outloo =?Utf-8?B?VHJ1bGlmZQ==?= Microsoft Outlook Discussion 0 21st Feb 2007 06:05 PM
ADDING PHOTOS TO MY EMPLOYEE TABLE BobHt Microsoft Access Forms 2 21st Mar 2005 10:55 PM
I am having trouble adding individual employee photos to access f. =?Utf-8?B?QWNjZXNzIFBob3Rvcw==?= Microsoft Access Forms 1 22nd Oct 2004 06:19 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:21 AM.