April 27, 200619 yr 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.
April 27, 200619 yr 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:
Create an account or sign in to comment