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 to select one data element to report

Featured Replies

I have a script to find a class and sort by manager name. The file contains multiple data fields with multiple managers. I want to send each manager a file with only their employee's information. So the report looks like:

Class date - Student Name - Manager Name - Entrance score - score 1 - score 2

4/12/2004 Paul Mary 100 98 87

4/12/2004 John Mary 89 98 98

4/12/2004 Tracey Steve 99 87 100

I want to send Mary the data on Paul and John only; and I want to send Steve a report on Tracey only. How do I divide to automatically send my exported report to only the immediate manager?

Thanks,

Shari

you have to sort by Manager and then add a subsummary (trailing) "when sorted by Manager" that includes a page break -

What format are you sending the report in? If you're printing it, you can put a subsummary part on the layout, based on a sort by manager, with a page break before each occurrence.

But you migh want to just search for each manager and then run your report. Either method can be scripted.

Here's an idea. Create a value list based on and called manager and a relationship from a global text field gText to manager called gText|||manager, then use a script like:

Set Field [gNum, 1]

Loop

Set Field [gText, MiddleWords( ValueListItems( Status(CurrentFileName), "manager" ), gNum, 1 )]

Go to Related Record [show, gText|||manager]

Set Field [gText2, fullmanagername & "yourinstitution.com"]

Perform Script [Export Records to file]

Send Mail [No dialog, ""]

Exit Loop If [gNum = PatternCount( ValueListItems( Status(CurrentFileName), "manager" ), "

  • Author

The report is in Excel. But I only want to send that managers information. So if I can sort by manager and break out the other managers and then send the email to the approprate manager would that work and how would I script that?

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.