October 4, 200223 yr Want to know if this is even possible... I have created a button with a value list pop-up. Is it possible to incorporate a script that, when a item from the value list is selected, it is added to another field. Now the other field will have items already in it, so there needs to be a way were it goes to the last line in the field, does a carrige return, and then adds the value list item. Pretty complicated, and I have not a clue. Any ideas? LR
October 5, 200223 yr Larry, You could use a Global field with the value list attached. Then have a small button ("Add") next to the field which runs a Script. This Script then Inserts the value at the end of the desired field. All the best. Garry
October 5, 200223 yr There are a couple of ways that what you want to do can be made automatic. One is where the list of items selected is compiled by calculation using the GetField ( ) function. Since this function was introduced with v5.5, it won't work in an earlier version. Moreover to get the calculation to update, you have to click out of the record (ie it picks up the last value you select when you leave the record. The other method uses a paused script attached to the pop-up field. Rather than explaining the steps in detail, I've attached a zip archive which includes two unlocked example files - one showing each method. If you have a look at how they are set up, hopefully they will give you some ideas to work with?! autolists.zip
October 7, 200223 yr Author Thanks for both the tips. I am in the process of giving it a try. I just downloaded the sample file also. Thanks so much for the time nd effort spent. LR
Create an account or sign in to comment