Jump to content
Server Maintenance This Week. ×

Scripted Calc for Determining if a Record Has Been Selected


This topic is 2361 days old. Please don't post here. Open a new topic instead.

Recommended Posts

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!

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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?

 

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

This topic is 2361 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.