I'm a bit turned around here, and I'm hoping someone can point me in the right direction. I am trying to make a batch process to update the contents of a Combobox that I have on a few hundred forms. The form is an FCC document and the Combobox contains addresses for different locations in the US that I ship to frequently(I have hundreds of them because of the numerous different commodities that need to be shipped). The Combobox is set up to populate a text field in the form with the correct address based on the location name chosen from the list. To do this I have a custom keystroke script that I have input in the "format" tab of the Combobox. This script matches an items export value with an array containing the addresses, and then populates the appropriate field. At this point everything is working well. The problem now is that I need to add a couple of addresses to the array, and the corresponding items to the Combobox, and I need to distribute that change throughout all of my forms.
I have been trying to set up a batch action that will create a new Combobox with the appropriate items and export values. The part I am stuck on is how to get the custom Keystroke script that contains my address array into the newly created Combobox. Would this be done through setAction using the cScript parameter? If so then maybe I need a bit of help with how to properly add a script within that parameter (syntax etc.) I should also mention that if there is a way to overwrite the script in the combobox I already have set up, that would be a preferable course.