Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

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!

Posted

Try this,

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

Posted

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?

Posted

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?

 

Posted

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

Posted

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?

Posted

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.

Posted

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

This topic is 2570 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.