Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Summarizing Elapsed Time

Featured Replies

I have two files: Jobs.fp5 and TimeTrack.fp5. The relationship is based on a JobNumber field (Acct #-Month/Year).

When I open a client's document from within Jobs (using AppleScript), a new record is created in TimeTrack with a time stamp. When the document is closed, TimeTrack logs the close time. I have an elapsed time field which is just CloseTime minus OpenTime. It is possible that each client will have multiple records in a given month.

I would like to somehow summarize those records and display that total with the corresponding record in Jobs.fp5. Sorry if this is a rookie question, but I can't seem to figure this one out.

Hi Dagel,

Some people get time and timestamp mixed up. And some use number field and/or time fields and then use conversions to re-figure the time, so I’ll need to make a few assumptions. You may need to adjust accordingly. Assuming both fields (OpenTime and CloseTime) in TimeTrack are timestamp and ElapsedTime is TIME, the following would work:

In Jobs, create a calculation (TIME) with:

Sum(TimeTrack::ElapsedTime)

FileMaker does a great job of converting, even over day changes, variable-length months and leap years.

LaRetta :wink2:

  • Author

LaRetta-

That did the trick. Thank you so much!

Cheers!

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.