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.

Scripting a report

Featured Replies

Hi,

I am trying to develop my first report but am starting to tear my hair out! I need to script a report to give me calculated results in a report layout. I need the script to generate results such as average age (i have an age in years field), number of males. females and transgender clients (this is info is recorded via radio buttons in a gender field), and i also need to be able to script it to look for what choices have been made from several pop-up menus. For example, in my 'area' field i would like to script it to produce how many records show a certain area from this pop-up list. Is this possible?

I hope i haven't confused everyone with these questions and would appreciate any pointers!

Thanks,

Anna

Don't think scripting is your problem here.

To generate the values you suggest you need to have some calculation fields - check out the "Summary" fields for averages, totals etc... Then put the new calculation fields on your report layout

Whilst a script could generate the values it's unnecessary and highly error prone.

  • Author

Thankyou, i will give this a go. The only query i have is how i actually ask the database to look for how many people have selected a certain option from a value list (i.e. a pop-up menu). Can this be done as a calculation or do i need a script for this? I'm sorry this probably sounds simple to everyone else but i am still learning!

Thanks,

Anna

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.