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.

Script that selects certain files

Featured Replies

I am not sure how to go about getting the result I want in my script. The answer is probably not in the script itself, so if I am in the wrong category, I apologize.

I have employee's that have numerous records pertaining to Sick Leave. When I run the report using this script, it will give me all the records, for all the employees. This works fine.

There is a field called "type". Examples of this are:

sick leave reviewed

sick leave letter issued

sick leave warning

So what I would like to do, is to be able to run a report, that will only give me the most recent record for each employee of any type. So if an employee has 5 records with reviewed, 2 under letter issued, and 3 with a warning, I would get the most recent of these only.

Resulting in:

Dave sick reviewed

Dave sick leave letter issued

Bill sick leave reviewed

Jane sick leave reviewed

I think I need a new TO with the correct relationship between the employee table and the sick leave table. I just don't know how to go about doing this.

Any help would be appreciated as usual.

Dave

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.