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.

get(scriptparameter)

Featured Replies

  • Newbies

I am trying to run a script that will find people depending on the letter that their surname begins with. The script does not show the custom dialogue message when records are not found. Any suggestions gratefully received.

Set error capture [on]

Enter find mode[]

Insert calculated result[select; surname field; get (scriptparameter)]

Perform find []

If [get(lasterror)=401]

Show custom dialogue[“Message”;”There are no surnames starting with the letter “&get (scriptparameter)]

End if

I would have written:

Set error capture [on]

Enter find mode[]

SET FIELD [surname field; get (scriptparameter)]

Perform find []

If [get(FOUNDCOUNT)=0]

Show custom dialogue[“Message”;”There are no surnames starting with the letter “&get (scriptparameter)]

End if

You may also wish to do some validation at the top of the script to make sure that it is only called from the correct table, and to make sure that there is a parameter passed to it.

James

  • Author
  • Newbies

thankyou very much, it worked perfectly.

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.