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.

Scripted Calc for Determining if a Record Has Been Selected

Featured Replies

Greets, all:

I don't want a particular script to run unless a record--any record--has been selected, first. I tried using Get (RecordNumber) as a flag but no luck there. I'm sure it's simple but for the simple-minded like myself, well...

TIA for your help!

Try this,

If you don't name a field in a script,  it will not run unless you put the curser in a field.

  • Author

You mean by using Get (ActiveFieldName) as the test since if a cursor isn't placed in a field then no fieldname will be captured?

You have not defined what it means for a record to be “selected “. 

Neither we nor Scriptmaker know what you want.

How is a “selected” record different from the current record?

 

  • Author

Would the correct terminology be "in focus" or "active record"? ...but you're correct: the "selected" record isn't different from the current record.

Then I don’t understand what you are trying to do.

If you are in browse mode; and the found set is not zero; then the script should always run?

What initiates the script? User clicks button?

Hi Ed

I sent you a Private Message on how you should ask your question,  including a link to Anatomy of a Good Topic.

Please read it and let me know if you have a problem.

Lee

  • Author

Thanks again, Lee. I'm going to bow out for now because I need to get up to speed to express myself intelligently; I don't want to waste anybody's valuable time until I do.

Cheers.

Hey, TeacherEd, don't bow out. We're here to help and getting past terminology sometimes is where we start.

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.