dbTalk Databases Forums  

Time Card Template

comp.databases.filemaker comp.databases.filemaker


Discuss Time Card Template in the comp.databases.filemaker forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
The Wolf
 
Posts: n/a

Default Time Card Template - 07-18-2004 , 06:36 PM







The fmp5.5 time card template figures overtime as anything over 40 hours
in a week, calculation below:

If(Total Hours ≤ Regular Hours In Work Week,

Round(Regular Hours In Work Week - Total Hours, 2),

""
)

Is there a way for it to calculate anything over eight hours in a single
workday?


Reply With Quote
  #2  
Old   
Howard Schlossberg
 
Posts: n/a

Default Re: Time Card Template - 07-18-2004 , 06:47 PM






Create a new calc field (number result, 7 repetitions), called
DailyOvertime:

case(work hours > 8, work hours - 8)

This will give you your total overtime for each day (a day in each
repetition).

To get total overtime for the week, create another calc field (number
result):
Hours Worked Over Reg + sum(DailyOvertime)


The Wolf wrote:
Quote:
The fmp5.5 time card template figures overtime as anything over 40 hours
in a week, calculation below:

If(Total Hours ≤ Regular Hours In Work Week,

Round(Regular Hours In Work Week - Total Hours, 2),

""
)

Is there a way for it to calculate anything over eight hours in a single
workday?

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Howard Schlossberg (818) 883-2846
FM Pro Solutions Los Angeles, California
Associate Member, FileMaker Solutions Alliance


Reply With Quote
  #3  
Old   
The Wolf
 
Posts: n/a

Default Re: Time Card Template - 07-19-2004 , 07:27 AM



Howard Schlossberg <howard (AT) antispahm (DOT) fmprosolutions.com> wrote:

Thank you Howard.

Quote:
Create a new calc field (number result, 7 repetitions), called
DailyOvertime:

case(work hours > 8, work hours - 8)

This will give you your total overtime for each day (a day in each
repetition).

To get total overtime for the week, create another calc field (number
result):
Hours Worked Over Reg + sum(DailyOvertime)


The Wolf wrote:
The fmp5.5 time card template figures overtime as anything over 40 hours
in a week, calculation below:

If(Total Hours � Regular Hours In Work Week,

Round(Regular Hours In Work Week - Total Hours, 2),

""
)

Is there a way for it to calculate anything over eight hours in a single
workday?


Reply With Quote
Reply




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.