overrider Posted September 16, 2005 Posted September 16, 2005 Hello, I have a Portal with a few Records, each have a Field containing the Time when the Record was made. Is there a way to calculate the elapsed time without using a script? So basically, last portal row time - first portal row time... thanks
aaa Posted September 16, 2005 Posted September 16, 2005 I attached example. I will be glad if this solves your question. Look, Creating_Time and Current_Time is Timestamp field, Elapsed_time-Time field. Elapsed_Time.zip
overrider Posted September 16, 2005 Author Posted September 16, 2005 hello, thank you for your file. what i meant to ask though was whether it is possible how to figure out the elapsed time from records displayed via a portal. it is maybe not possible without a script.
comment Posted September 16, 2005 Posted September 16, 2005 The elapsed time since when? Since the creation of the previous portal record, or since the creation of the first portal record - or what? Also, what is the relationship that the portal is based on?
-Queue- Posted September 16, 2005 Posted September 16, 2005 If the child side of your relationship is sorted naturally (in creation order) or in the same order as the portal, then a calculation of Last(rel::time) - rel::time in the parent table should work.
overrider Posted September 17, 2005 Author Posted September 17, 2005 -Queue- ok this worked; exactly what i had in mind. thank you so much. comment: sorry i wasnt clear. the elapsed time is based on the time field value on the first record in the portal and the last. the relationship is a joined date/time relationship. i am using this to control a certain route a security guard has to walk every day. while he walks he is scanning in rfid tags, which record date, time and rfid. this info i get every morning to import into my filemaker thingy i build. i am using the elapsed field to see with one look how long the guy took to complete the route.
Recommended Posts
This topic is 7105 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now