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.

counting and stopping records

Featured Replies

OK, this what I need to happen. A user pushes a button to create a new record. A script checks to see how many records there are. If there are 5, a window saying "you can't have more than 5" pops up and stops the script. If there are less than 5 then the script will create a new record and quit.

How do I write this script? I know how to create a new record and display a message in a window. How do you test to see how many records there are?

Thanks for your time

It may be like this:

If Status(CurrentFoundCount)<5

New Record Request

else

Show Message("You can't have more than 5")

Endif

Status function works in V6, but in 7 You must use Get-function.

You may want to use Get(TotalRecordCount) if you want to include all records in the file and not only those in the found set.

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.