June 10, 200322 yr Hi Bill, Check your paste step in the script. I suspect that you have the option "Select Entire Contents" ticked on the Paste options. This will paste over whatever data is already in the field, if you untick this box, then your script should work fine. Ed.
June 10, 200322 yr Author Hi Ed, I do have the "Select Entire Contetns" Un-checked. Could it be because it's a PopUp field? Bill
June 10, 200322 yr Hi Bill, I tested the script as you described it, and it works like a charm. steps are: copy (select, sometextfield) enter find mode() insert text ("==") paste (sometextfield) I also tried it with 'sometextfield' formatted as popup- and dropdown menu, also worked. So I suggest calling in a priest. Regards, Ernst.
June 10, 200322 yr Hey guys ! Does someone here confirms that FM is relational ? Avoid cut, paste and == Go for setfield (global, your value) and GTRR (global::your field) Hmm...quicker.
June 10, 200322 yr Hello Ugo, I red somewhere that relations only evaluate up to 20 characters. So a relation would not allways work. But using 'set field' is indeed a lot 'neater' than using copy and paste. Regards, Ernst.
June 10, 200322 yr When a find is scripted, there are great chances that this is a "one second" request...therefore relational design is better IMO.
June 10, 200322 yr Author Hi Ed, You were right of course. It was the "Select Entire Contents" that was the problem. What had happened is I made a copy of the script that didn't work, set the copy up correctly and forgot to change it on the button that called the new script. Thanks for your help, Bill
June 10, 200322 yr Good Morning Ugo, There are sometimes several ways to accomplish the same thing. Not always does it require a relationship. Lee
June 10, 200322 yr Good afternoon Lee It must be of my bad habits to always watch for the quicker solution....!
Create an account or sign in to comment