September 4, 200322 yr I created the phrase field (i call it "Common Phrases") that holds a list of words (blah1, blah2, etc...) by way of a value-list. so, after creating this field, i'm able to click on it (while in Browse Mode) and choose a phrase (blah1, blah2, etc). The problem is that these phrases aren't being inserted into the field (a large, textbox-like field called "description") after i run the script/button. My script is just one line and is as follows: Insert Calculated Result ["Common Phrases"] This is correct, right? so, while in browse-mode, i go to the Common Phrases field, i choose the phrase that i want, then i click in the "description" text-box, and then i click on the button to insert the phrase... but it doesn't work. what am i doing wrong here? I want to be able to do this so i can cut back on redundancy when having to re-use certain commonly-used phrases and sentences in the Description textbox.
September 4, 200322 yr Hi, If you want to just insert this phrase into another field try -- Set Field [ The field to insert into, Common phrases ] Go To Field [ The field to insert to ] Now, if you want to ADD the phrase to the field and keep what has been written in it before Set Field [ The field to insert into, The field to insert into & :PP & Common phrases ] Go To Field [ The field to insert to ] Where :PP is the carriage return symbol with your Insert Calculated Result [common phrase] you need to first click into your destination field BEFORE you click your button. Otherwise the phrase is not going anywhere. Obviously you are then reliant on your users all knowing this. If it is always going into the same field (and at the end of that field then the2nd set field above will do this) You could copy it, pause and wait for the user to click into the destination field and then have them hit a button to resume the script and paste your phrase in that location, but again you are hoping your users will always do what you want HTH
Create an account or sign in to comment