×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Creating a monthly report of recorded hours.

Creating a monthly report of recorded hours.

Creating a monthly report of recorded hours.

(OP)
Hello all, I am creating a filemaker db for my volunteer ambulance corp. One of the uses I intend for this is to record the amount of hours each member volunteers per day/shift.

What is important to me is to be able to print out a monthly report.

This report would show each memebr with the amount of hours they have volunteered for the month.


When a crew starts their tour, they would create a new record in the Main Log table which essenitally contains the ID and date.

For a crew member to gain credit for the tour they would then add themselves to the portal that is on the Main Log. The Crew Log table essentially consists of: Main Log ID, Member ID(see below), Crew Log ID, Start time, and End Time.

Every member is listed under a table called members, which essentialy includes their unique ID and name.





Any help would be greatly appreciated.
If you would like a copy of the db I am working on for ease of understanding my database structure please PM me.

Thanks!

RE: Creating a monthly report of recorded hours.

You could make a sort of record time table.

At recordcreation, the user enters name, date autoenter and time autoenter.
The -clock will start running untill the user goes back to that record and push the 'endTime' button, which is only visible if the startbutton was active.

You don't need calc fields, all the mechanic can be in scripts.

Basicfields you need:
beginDate - date
beginTime - time
elapsedTime - time
pausedTime - time
userName - text
totalHours - summary=Total of elapsedTime

The calculations in the scripts, something along these lines:
StartTimer, a set ofSetField steps to set the fields to Current Date and Current Time
Check ElapsedTime, with a setField step like: (((Status(CurrentDate) - Begin Date) * 86400) + Status(CurrentTime) - Begin Time) + Paused Time
Pause/Stop/Continue, where you toggle between stop and continue
Report, redirect to the reportlayout with 2 parts,subSummary by userName(leading) with userName and totalHours
and
subsummary by userName (trailing) with date and elapsedTime.

Very dirty and short, but it could put you on your way.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close