November 6, 20178 yr 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!
November 6, 20178 yr Try this, If you don't name a field in a script, it will not run unless you put the curser in a field.
November 6, 20178 yr 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?
November 6, 20178 yr 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?
November 6, 20178 yr 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.
November 6, 20178 yr 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?
November 6, 20178 yr 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
November 7, 20178 yr 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.
November 8, 20178 yr 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