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.

Setting timestamps script for last and current records.

Featured Replies

I have a layout that I use to track time spent on certain projects. I have assigned 2 buttons, Start, and End that the user uses when signing out of a project. Each project has a unique Project Number assigned to it that a new record is created for it when a new task is being done to it and signed out.

For example: Project 101 is signed out for design work by Joe, a new record for Project 101 is created, Joe hits the Start button and the current Date and Time are entered into their respective fields. When Joe's finished he hits the End button and an end time and date in field is eneterd with that current info.

The problem arrises when someone does not hit the End button, say during a review. So the next time it's signed out the record previous to it does not have an end time and the clock is still running on it.

What I would like to create i a modification to the Start button that looks at the previous record for that Project number, looks at the End time and if it does not have one, put the current time in that field as well as putting that current time in the current records Start time.

I hope this is not to confusing but I have tried several things and I am having difficulty with getting the previous record info to either enter the missing data or to see that there is an end time there so just put a Start time in the current records start tie field.

Any suggestions would be most appreciated!!

Thanks!!

This is a conundrum I have faced a few times. Eventually I have settled on allowing the users to declare the amount of time spent, without requiring start/end times.

  • Author

Unfortunately we don't want them to do that (this way it keeps it real time :) Also, some people who it's assigned to are not log in in and out, that is a job that I will do for them, it just makes it easier if it's automated.

  • Author

Is there a acript similar to the calculation where it goes to the Last(related Record)? Once there is there a way to get back to the current record?

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.