Skip 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.

Re caluclate field value after sort

Featured Replies

I am very new to filemaker so if this a no brainer then I apologise in advance.

I have a database which I import data from an employee time recording system. I import employee number and a timestamp. The data doesnt contain any detail as to if they are entering or leaving the building.

I sort the data by employee number and date. I assume that the first record is when they started work. I have a getnthrecord function to get the time from the previous record. I will then subtract the second record from the first to calulate the time in work. All this works OK untill i import some more records and perform a sort.

My question is how do i recalculate after I have performed a sort.

your calculation should be un-stored, so that it will reevaluate based upon current found set and sort order.

  • Author

Fantasic many many thanks.

  • Author

I have a csv file which contains records containing person name, and time. A record is created each time a person enters or leaves a location. Therefor the first record is the time they enter the room. The next record is when they leave the room. They should have been in the room for 55 mins. There are four rooms that they have to goto. We dont want to record when they leave the room after 55 minutes

I am trying to create a database which will show the amount of time spent in each room.

So far I can get a portal for each person showing the entries for them against each room. I dont how to subtract record 3 from record 2 which in turn subtracts from 55 mins to show the total time. Enclosed is my very novice attempts at trying to work this out. The xls file is what i am importing.

Any help would be much appreciated

time.zip

Edited by Guest

Enclosed is my very novice attempts at trying to work this out.

Where is it ?

  • Author

file now enclosed. Where it says in the description peoples names please substitiute this for numbers

  • Author

We record peoples attendance at a training session using barcode readers which we use to scan there name badge. When they attend the session we scan them in which creates a record which has there id number the barcode reader id and a timestamp. If they leave the session before the end they we scan them again. If they return they get scanned in as well. We don’t scan them out at the end of the session.

I need to generate a report that lists there names the sessions they attended and how much if any of the session they missed.

I have created a database and can see the records for each person in a portal. What i cant do is calculate the amount of time they were absent from the session.

I have enclosed my fm file and 2 files with sample data i wish to import.

Any advice would be a great help this is driving me mad.

support_request.zip

I believe this is your third thread with the same question:

http://www.fmforums.com/forum/showtopic.php?tid/197274/

http://www.fmforums.com/forum/showtopic.php?tid/197284/

file now enclosed. Where it says in the description peoples names please substitiute this for numbers

Nope, no file is enclosed.

Yes, now there is... but attached to the first post :

  • Author

Guilty as charged. I thought i had put it in the wrong section and made a better job of writing up the requirement.

Apologies

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

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.