ibiubu Posted October 4, 2002 Posted October 4, 2002 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
Garry Claridge Posted October 5, 2002 Posted October 5, 2002 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
CobaltSky Posted October 5, 2002 Posted October 5, 2002 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
ibiubu Posted October 7, 2002 Author Posted October 7, 2002 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
Recommended Posts
This topic is 8428 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 accountSign in
Already have an account? Sign in here.
Sign In Now