ModifyScript, Prompt and Combo Boxes (SSIS)

Hi,
I am trying to populate values into a Combo Box through the ModifyScript
Prompt() command: However I don't seem to be able to populate the combo box with more than 3 possible values, using the 3 available parameters. If I try and use Array Syntax, the values don't get split out.
Here's an example of what I mean by Array Syntax:
Prompt("ComboBox","Here are some values to Choose From",,{A,B,C,D},,,)
Here is the result; Only 1 available value {A,B,C,D}
If I omit the {} then it places the values in the available Parameter slots (upto 3), but I need more than just 3 available values for the user to choose from.
Can anyone move my cloud????
Thanks

Yes, that is the way to do it, just don't forget to addChild the mclip as well... here's a quick example using the built-in Tween class...
import fl.transitions.Tween;
var mclip:MovieClip = new MovieClip();
mclip.addChild(aComboBox)
mclip.addChild(aComboBox2)
mclip.addChild(aComboBox3)
addChild(mclip);
var tw:Tween = new Tween(mclip, "x", null, mclip.x, mclip.x+200, 1, true);

Similar Messages

  • Display data in list and combo box

    hi all....
    how to display data from database in list and combo box? i use MYSQL...
    help me please..... tq...

    1 - Write a query to retrieve the data you want from database
    2 - In a servlet, connect to database, Run the query, scroll through the result set and put the data into a list of Java Objects.
    3 - Set a request/session attribute of that list of objects
    4 - Forward to JSP
    5 - In JSP, create a <select> box, and then use a <c:forEach> loop to generate <option> tags from the list.

  • Radio Button and combo box in Pdf Report.

    Hi,
    I have to make a PDF report with text box,radio buttons and combo boxes.
    The data in the text box will populate from the data base table.
    Similarly the radion button will enable the particular radio button from  a set of available radion buttons as per the value from the database.
    Same with combo boxes.
    The report putput should come in PDF.
    Thanks

    Hi,
    The report sud be pdf output with details like name of person showing in textbox ,then there will be list of radio buttons out of which particular radio button will be checked  as per the option for that particular person in the database.same with combox with for example A,B,C option from the look up is coming but it will be showing the option as per the name of person.We can take the name of person as the primary key.
    The Problem with input controls is that they can be used to filter the report as radio buttons and combo box but they can't be sown in the report itself.

  • How to increase the width size between PROMPT and TEXT BOX?

    Hi Gurus,
    my page having MessageTextInputs. Normally page runs displays the Prompt name and one text box will displayed.
    my requirement is
    1) how to increase the width size between PROMPT and TEXT BOX?
    2)prompt name displays like
    elephant
    xxxxxant
    xxxxRose
    here xxxxx indicates SPACE
    but my client requirement is don't displays the SPACES in left side.
    so our requirement is in page PROMPT displays like
    elephant
    ant
    rose
    How to achieve this plz help me
    its very urgent
    Thanks

    Hi,
    Create a table layout region and under that use 'messageStyledText' for displaying the prompt and use 'messageTextInput' for text field without giving any prompt to that.
    --Sushant                                                                                                                                                                                                                                                                                                                                                                                           

  • Is this a known problem - Panel text and combo boxes not repainting completely when scrolling in IE?

    Looking for any insight as to what might be going on.  Would appreciate any info if anyone knows about this or similar problems..
    I have a panel with 18 children - text and combo boxes - that does not repaing correctly in IE when scrolling vertically.  The 18 children do not fit in the panel, so a vertical scroll bar appears.  The scroll works perfectly when i run through FireFox.  But it does not work in IE in this case.  The child controls appear as painted over parts of other controls.
    thx.

    Wow ...  wow...  Magic.  Your last suggestion of removing the wmode attribute worked.  The page looks great.  The scroll works flawlessly where before it mangled the child controls on the page making it look like a hurricane scene.
    The html was originally set with wmode as "opaque".  I tried changing it to "transparent" after your first response, but this made no difference.  What fixed the problem was removing the wmode attribute altogether.
    We've built a rather large application.  Is there anything we need to be aware of, or anything we need to look out for by removing the wmode setting?
    Thanks much.

  • Need help with xml and combo boxes

    Basically what im doing is a ui for a electronic book.
    The book is broken into 3 parts and each part has its own set
    of chapters.
    My xml schema is pasted below.
    And what i would like is to have two comboBoxes .
    The first one would list the names of the parts available,
    ie.. Part I, Part II, Part III.
    the Second one would list the chapters avalable under that
    part. For example, If Part i, is sected then the secodn combo box
    would list chapter 1-5, while if the second part is selected, the
    second combo box would list chapters 6-10.
    Im using flash 8 pro, and the xmlconnector and comboboxes.
    Maybe there is an easier way. PLEASE HALLP! This is driving me
    nuts.
    XML Schema:

    Hi
    I have just done this for another guy in this forum, I can
    send you an example using UI Components - 3 Comboboxes each shows
    the sub-options of its parent, one more than what you want. The
    secret is in the construct of the XML file and how this creates the
    correct Schema for binding.
    Post me an email address and I can send you the files.

  • Push Button , Label and combo box

    Hi Experts,
    Currently facing a problem , please guide.
    I have two push buttons say A and B and one combo box.
    I am using Combo box with source data as filtered row options.
    What I want to accomplish is when push button A is clicked then my combo box should have different souce of data say sheet 1 in excel and when Push button B is clicked then the same combo box should have source data from sheet 2 from the same excel.
    I mean dynamic selection of source data and then destination data by using combo boxed.
    is it possible ?
    Thanks in advance.
    Thanks & Regards,
    Anjna

    Hi,
    Use 2 combo boxs CB1 n CB 2.
    CB1 : source form sheet1
    CB2:Source from sheet 2
    when push button  A is selected  set dynamic visibility such that u get combo box 1
    when push button  B is selected  set dynamic visibility such that u get combo box 2.
    Case 2:
    Insted of using 2 push buttons you can use a radio butoon and select the lables A or B so that these two combo box components dnt appear at once
    Take a radio button component and map lables as A and B
    under behaviour tab: >Insert selected item:>mapp it with a blank cell say Sheet3!$G$4
    if radio button selection is A then set dynamic visibility such that u get combo box 1
    if radio button selection is b then set dynamic visibility such that u get combo box 2
    formula cells:
    take a blak cell say Sheet3!$H$7 and write formula =IF(Sheet3!$G$4="A","",first label of combo box 2)
    take a blak cell say Sheet3!$H$8 and write formula =IF(Sheet3!$G$4="B","",first label of combo box 1)
    Combo box 1 :Behaviour tab-->Selected item :Sheet3!$H$7
    Combo box 1 :Behaviour tab-->Selected item :Sheet3!$H$8
    check if this suits ur req ...
    @Sri
    Edited by: Sri kamesh on Jun 21, 2011 11:00 AM

  • Indesign forms and combo boxes

    Hey,
    I have created an interactive document which is working perfectly, however I just need to clarify a couple of things.
    • Combo boxes - can I change the actual appearance of these? Like colour, size of drop down arrow etc? I know I can change the fonts/size through Acrobat.
    • Submit button - I have this so it sends the form to an email address, but the document is 4mb. Is there a way thet this submit form button ONLY submits the form, not the whole document?
    Cheers

    Go to edit forms in Acrobat and use a lot of options there.

  • Flash buttons and combo box's. Help

    Ok! Picture the scene. I have a combo box on the left hand
    side of the stage that holds difrent options of color's. And on the
    right side of the stage I have ten buttons showing the color's! So
    what I want to happen is! A person come's to this page and I want
    them to be able to eather select the option with the combo box drop
    down or be able to click on one of the color button's on the right
    hand side of the stage and it select that color in the combo box. I
    need this to happen because I will have lot's of option's
    (size,stlye,color,wood color ect..) for the person to look at and
    the combo box part will be way down at the bottom of the page.
    If any one can help that would be great! Or if you know of
    tutriols out there you can point me in that direction! Thank you
    all for reading!

    In which trigger you try to do this? Have you tried with when_new_block_instance?
    Here it works!
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Tamer ([email protected]):
    Hello All
    I want to populate drop down list dynamically with this procedure. but when i use combo box every thing
    working fine. but i change to poplist (that what i want) at first time when populate the poplist working
    but when i try to repopulate the poplist i get this error message.
    'FRM-41337 Cannot populate the list from record group'
    i need to use poplist and repopulated it. how can i fix the problem.
    thankx
    PROCEDURE populate_lst IS
    p_input_query VARCHAR2(500):='SELECT ALL'
    | |' SMS_BOM_SECTION.SECTION_ID,'
    | |' SMS_BOM_SECTION.SECTION_ID Value'
    | |' FROM SMSDEV1.SMS_BOM_SECTION'
    | |' ORDER BY SMS_BOM_SECTION.SECTION_ID ASC';
    p_list_name VARCHAR2(50):='SMS_BOM_CENTRE.SECTION_ID';
    v_rg_id RECORDGROUP;
    v_list_id ITEM;
    v_rg_name VARCHAR2(20) := 'reg';
    v_retval NUMBER := 0;
    BEGIN
    --Find the list itself
    v_list_id := find_item(p_list_name);
    IF id_null(v_list_id)THEN
    bell;
    message('List item '| |p_list_name| |' did not exist');
    raise form_trigger_failure;
    END IF;
    --Find the record group itself
    v_rg_id := find_group(v_rg_name);
    --Delete the record group if it already exist.
    IF NOT id_null(v_rg_id)THEN
    delete_group(v_rg_id);
    END IF;
    --create the record group from query
    v_rg_id := create_group_from_query(v_rg_name,p_input_query);
    IF id_null(v_rg_id)THEN
    bell;
    message('Record group could not be created');
    raise form_trigger_failure;
    END IF;
    --Populate record group
    v_retval := populate_group(v_rg_id);
    --Populate the list if all is well
    IF v_retval = 0 THEN
    --Populate list
    populate_list(v_list_id,v_rg_id);
    --Delete record group
    delete_group(v_rg_id);
    ELSE
    --No able to populate record_group
    bell;
    message('can not populate the record group ');
    raise form_trigger_failure;
    END IF;
    END;<HR></BLOCKQUOTE>
    null

  • Spaces always sends  to the same Desktop, drop-lists and combo boxes broken

    I have a new behavior that has just started. When I click on the Spaces icon on my dock - it has several weird behaviors. First, no matter what I click on - it will only send me to the upper right desktop. Second, when I move the mouse while using spaces - the animation flickers very strangely. Third, the animation when Spaces opens and closes is VERY VERY slow and it takes several seconds between clicking the Spaces icon in the dock to when the animation is complete and you can select a desktop.
    Possibly related (because it started at the same time) all of the auto-complete menus (i.e. - those menus that help you type faster when you enter text into HTML forms etc.) are now un-usable. They flicker in and out so quickly that I cannot click on them. Ditto for any sort of combo-box or drop list control in any application.
    Has anyone else started experiencing this problem?
    Message was edited by: bmm727
    Message was edited by: bmm727

    I'll throw out some other ideas.
    A. System wide freak-outs can also be caused by bad or duplicate fonts installed or important fonts missing. Open Font Book and see if any fonts have a dot next to them. If you move or change fonts that are necessary for apps you get many problems.Here is a list of necessary fonts. The system fonts will not allow you to move them so it probably is not one of them. You can also try cleaning the system and font caches using Onyx.
    B. Incomplete upgrades can leave your system in a mess. It would be easier to archive and install then to try and figure out what pieces you are missing.
    C. I would also suspect any third party utilities you have installed, especially in the System Preferences or that activate on start up.
    System Prefs:
    • Out of date utilities for your third party mouse. Try updating the utility.
    • Haxies for the system- try turning them off.
    D. Antivirus programs often cause more harm then good. Do you have any installed? On Windows machine I have used when your subscription expires the software cripples your system. The solution is to completely remove it or renew your subscription.
    E. If you are using a wireless mouse check the batteries.
    Kurt

  • Newb deserving assistance with Adobe Javascript (check boxes and combo boxes)

    Hi, I'm a newb when it comes to javascript (using adobe acrobat pro 6.0).
    I am working on a form that will allow me to autofill checkboxes based off of information chosen. Ideally, I would like to have a selection from a combo box autofill/auto checkmark check boxes. Alternatively, I would be willing to just have different selections presented with check boxes that when filled, would auto checkmark other check boxes (I know how to do this one, but I am not sure how to clear the check boxes if the initial one is unchecked).
    I have the action button tied to the mouse up function. This just errors out.
    var Citrix = this.getField("Citrix")
    var Appro = this.getField("Appro")
    var SAS = this.getField("SAS")
    if (event.target.value=="Yes") {
    Citrix.checkThisBox = true
    Appro.checkThisBox = true
    SAS.checkThisBox = true
    else {
    Citrix.checkThisBox = false
    Appro.checkThisBox = false
    SAS.checkThisBox = false
    I have this that works, but I don't know how to clear the buttons when "Associate" is unchecked.
    if(this.getField("Associate").isBoxChecked(0));
    this.getField("Citrix").checkThisBox(0, true);
    this.getField("Appro").checkThisBox(0, true);
    this.getField("SAS").checkThisBox(0, true);
    The other way I was working on it, was to use a combo box to autofill/checkmark check boxes. But this code doesn't work either.
    function calculateTextField()
    // get the value of the combo box
    var comboValue = this.getField("Select").value;
    // get the state of the checkbox
    var isChecked = (this.getField("Citrix").value == "Yes");
    var textFieldValue = "";
    console.println(comboValue);
    if (isChecked)
    if (comboValue == 0)
    textFieldValue = "";
    if (comboValue == "Associate")
    (this.getField("Citrix").value == "Yes");
    else if (comboValue == "Specialist")
    (this.getField("Citrix").value == "Yes");
    else if (comboValue == "Team Leader")
    (this.getField("Citrix").value == "No");
    else
    (this.getField("Citrix").value == "No");
    else
    textFieldValue = "";
    this.getField("Select").value = textFieldValue;
    Can anyone please assist me with this?
    Thanks,
    Chris

    Hi Gene,
    Thank you for the response. Are you saying that my initial formula should look more like this; ?
    var Citrix = this.getField("Citrix")
    var Appro = this.getField("Appro")
    var SAS = this.getField("SAS")
    if (event.target.value=="Yes") {
    Citrix.checkThisBox = true
    Appro.checkThisBox = true
    SAS.checkThisBox = true
    else {
    if (event.target.value=="Off")
    Citrix.checkThisBox = true
    Appro.checkThisBox = true
    SAS.checkThisBox = true
    Thanks,
    Chris

  • The Prompt on combo box is not disappearing after a value is selected.

    Hi guys,
    I am putting in the prompt "Course Category" which starts off black and when a value is selected it turns grey but doesn't disappear, obscuring the selected value.
    I have tried putting in the line course_step1.prompt = ""; in the post selection part of the code but this has no effect.
    Interestingly when I test just this scene and not the whole movie this problem dosen't occure.
    This is a quote from my code I hope it gives you the idea...
    Thanks in advance,
    var course_step1:ComboBox = new ComboBox;
                    sophia_page2.addChild (course_step1);
                    course_step1.x = 245;
                    course_step1.y = 12;
                    course_step1.width = 200;
                    course_step1.dropdownWidth = 300;
                    course_step1.prompt = "Course Category";
                    course_step1.dataProvider = new DataProvider(cat_array);
                    course_step1.addEventListener(Event.CHANGE,select_cat);
                    function select_cat(event:Event):void
                                    var cat_select:String =(course_step1.selectedItem.data);
                                    course_inst1.textColor = 0x999999;
                                    course_inst2.textColor = 0x000000;  
                                    course_inst3.textColor = 0xCBDEF5;
                                    course_step1.prompt = "";
                                    //trace ("http://onedev/one/Sophia/CourseQuery2.asp?Cat=" + cat_select);
                                    var cat_selecturl:String =("http://onedev/one/Sophia/CourseQuery2.asp?Cat=" + cat_select);
                                    var xmlq2:XML = new XML ();
                                    var q2theURL_ur:URLRequest = new URLRequest("xmlq2.xml");
                                                           //replace with cat_selecturl ---- test with "xmlq2.xml"
                                    var q2loader_ul:URLLoader = new URLLoader(q2theURL_ur);
                                   q2loader_ul.addEventListener("complete", q2fileLoaded);
                                    function q2fileLoaded(e:Event):void
                                                    xmlq2 = XML(q2loader_ul.data);
                                                    //trace (unescape (xmlq2));
                                                   course_step1.prompt = "";

    Check the HTML source. Is any code after the initial option present (ie the </select></td>)? If not then you are getting an error that is masked by the fact that you already committed the response. Look into your logs.
    If the HTML source looks fine I fall back to my previous answer and you need to re-check the messages closer to where the work is being done. Though it never hurts to check the log files.

  • How do I correctly use Macro Builder to have a form auto select a TAB depending on a value selected in a combo box?

    I am working in access 2013 to update a database first created in Access 2003. It has been saved as an accdb but I have the same problem in earlier versions.
    I have a Tab Control subform in my MainDataEntry form which has 5 different tabs. Each Tab has its own set of text boxes and combo boxes for data entry. At the top of the MainDataEntry form there is a Text box [Text393], which has a drop down with
    the 5 TAB names, [Mobile Device],[Computer],[Loose Media],[Network] and [Original Device]. When I select one of these values in the Text box, I would like to automatically set focus on the first Textbox or ComboBox inside the corresponding TAB.
    I have tried to do this using the MacroBuilder inside the "After Update" Property for the Text or Combo box that is on the MainDataEntry Form using "If" and "Else If" statements for the "GoToControl" action, however
    I seem to be able to only get one Tab to work. I have tried several different variations of this, putting the If statement first and the action argument second...putting all arguments inside a group, or not grouped....nothing seems to work. What am I
    doing wrong?
    EXAMPLE:
    If [Text393]=[Mobile Device] Then
        GoToControl
             Control Name   Combo471
    Else If [Text393]=[Computer] Then
        GoToControl
    Control Name   Bios_Date
    Else If [Text393]=[Loose Media] Then
        GoToControl
             Control Name   Combo659
    Else If [Text393]=[Network] Then
        GoToControl
             Control Name   User Name
    Else If [Text393]=[Original Device] Then
        GoToControl
             Control Name   Combo814
    End If

    In the Macro Builder's AfterUpdate event for [Text393]:
    GoTo Control
      Control Name =Forms!MainDataEntry.Controls(Text393.Value).Name
    To ensure that the first control on each tab receives the focus, set that control's Tab Index property to zero (0).

  • How to get the current selected value of a combo box or a option button?

    Hello All,
    I want to catch the current selected value of a combo box and also of a option button and want save it into different variables in my code. These option button and combo box are in a SAP business one form which I have created through VB dot.net coding.
    But I don't know how to do that, can any one send any example code for this.
    Regards,
    Sudeshna.

    Hi Sudesha,
    If you want to get the selected values you can do it as follows: The Combo Box value you can get from the combo box. If you want to get it on the change event, you must make sure that you check when BeforeAction = False. If you want to get an Option Button value you should check the value in the data source attached to the option button.
            Dim oForm As SAPbouiCOM.Form
            Dim oCombo As SAPbouiCOM.ComboBox
            Dim oData As SAPbouiCOM.UserDataSource
            oForm = oApplication.Forms.Item("MyForm")
            oCombo = oForm.Items.Item("myComboUID")
            oApplication.MessageBox(oCombo.Selected.Value)
            oData = oForm.DataSources.UserDataSources.Item("MyDataSourceName")
            oApplication.MessageBox(oData.ValueEx)
    Hope it helps,
    Adele

  • If check box then combo box

    Hi there,
    I have been searching for the answer for this question.
    I am trying to write JavaScript for the following situation.  If my check box is selected then the values of combo box 1, combo box 2, and combo box 3, will all read "N/A".  My fields in each combo box is " " "yes" "no" and "N/A"  If someone could help me out with this answer that would be greatly appreciated.
    Thank you.

    Hi
    You need to use following Javascript code in Acrobat form to achieve your requirement.
    if((this.getField("CheckBox1").isBoxChecked(0)))
    this.getField("Dropdown1").value = "N/A";
    this.getField("Dropdown2").value = "N/A";
    this.getField("Dropdown3").value = "N/A";
    if((!this.getField("CheckBox1").isBoxChecked(0)))
    this.getField("Dropdown1").value = " ";
    this.getField("Dropdown2").value = " ";
    this.getField("Dropdown3").value = " ";
    Please see attached PDF for reference.
    Regards,
    Anoop

Maybe you are looking for

  • Read Only RPD Group

    Can you create a group in the OBIEE Admin Tool (RPD) that has read only rights to the RPD? I want to grant access to the RPD to a group of users, but do not want them to be able to make any changes to the RPD. Is this possible?

  • Getting error message when updating to 2.1

    Anyone else having a problem updating to 2.1? iTunes tells me 2.1 is available and then when I click download and install I get the error message "the requested resource was not found." lenn

  • Sort Formula Field

    Hi I have a similar issue.... I have a report that's looking for Turnbacks,Total Trips and Turnback Percent of total trips grouped by Vendor. Report Layout Date (Group1) Vendor (Group2) Under group Vendor I have summarized fields... Date 20101119 Ven

  • Observer pattern with TCP

    Hello java friends! I have implemented an auction application over a TCP communication. The client's using a basis Socket and the server is multi threaded with a ServerSocket returning a Socket which is processed in a separate thread. The connection

  • Mmbe / HU (environment - HU - expand all )

    In MMBE . material, plant storage location , batch . i have given and executed. Now, selecting the batch and frm envirinment , i clicked the handling unit . All handling unit will display. but how to expand all HU in that screen . I tried expand , al