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.

Empty Found Set, Then Invoke A Script

Featured Replies

How can I invoke a script within a script after a found set is empty...?

 

Much thanks all!

 

L~

Put your regular script here and then your find process and then ...

 

... error trap so you can handle it yourself if no records are found

Set Error Capture [ On ]

If [ not Get ( FoundCount ) ]  

Show Custom Dialog [ "No records found" ]

# put whatever steps to take if no records are found here such as the following

Show All Records ... returns the record set from 0 records to all before you leave

Go To Layout [ original layout ]

Exit Script

End If

... continue your regular script here knowing that records have been found so you can continue.

 

Or, within the If[], just add a sub-script of your find script. 

  • Author

Seems simple, will enter this later and let you know! Much thanks...

 

L~

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.