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.

Featured Replies

  • Newbies

I have file (report.fp5) where a user enters information for performing a find and creating a report with data from another file (checklist.fp5).

On the report.fp5 file the user chooses the name (from a list), begining date, end date and a checkbox that let let him choose if he wants the report to have everybody from the name list or only the name he selected.Depending on his selection on the checkbox, a diferent script is run.

>If [checkbox=""]

>Perform Script ["individual report"]

>End if

>if [checkbox="all"]

>Perform Script["group report"]

>End if

If I perform the scripts above individualy by going to the script menu and selecting the script they both work fine, however if I try to perfom them from the script showed above only the group report script works, the individual report stops in the middle.

This is the Individual report script :

>Set Field[date_range, DateToText(date_begining&"..."&DateToText(date_end)]

>Go to Layout [report data]

>Copy [date_range]

>[select Entire Contents]

>Go to related record [name to name]

>[show only related records]

>Peform Script [filename:"checklist.fp5" , "individual report"]

>[sub-script]

can anybody help?:?

Try changing your first IF statement to and also setting as an else (or adding an exit script before the end IF

>If [ IsEmpty(checkbox) ]

> Perform Script ["individual report"]

>Else

> if [checkbox="all"]

> Perform Script["group report"]

> End if

>End if

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.