Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 8087 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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

Posted

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

Posted

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

Posted

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

This topic is 8087 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.