Problem in Combo Box Values

Hi Members,
I have an combo box in a user designed screen. I have to list the sales order number for an chosen customer in the combo box.
My problem is that all the values are not listing for that customer.
Sample coding is as follows:
strSQL = "select DocNum from ORDR where CardCode='" & objform.Items.Item("4").Specific.String & "'"
        objRS.DoQuery(strSQL)
        While Not objRS.EoF
            objCombobox.ValidValues.Add(objRS.Fields.Item("DocNum").Value, objRS.Fields.Item("DocNum").Value)
            objRS.MoveNext()
        End While
Please kindly help me in this regard.
Thanks,
Venkatesh.R

Hi Venkatesh,
Please insert a breakpoint in this line
objRS.DoQuery(strSQL)
Then code the value of the strSQL variable and execute it on the SQL Server Management Studio. I'm guessing it returns no records, so there will be no values in the ComboBox.
Regards,
Vítor Vieira

Similar Messages

  • Problem with combo boxes and the reset button in certain situations

    Hi Everyone,
    i have a problem to make the reset-button function properly in an what-if analysis dashboard.
    The dashboard uses two combo boxes that are not visible at the same time. In my application the second combo box only appears when a dedicated menu (label based menu button) has been activated.
    So i have combo box 1 when menu A is active an dand combo box 2 when menu 2 is active.
    After starting the dashboard initial values are fine. If you then directly change to menu 2 (seeing combo box 2 with
    the correct default value) and press the reset button, the dashboard returns to the initial view, showing
    the menu 1 with the correct default value. If you now switch back  to menu 2, you will see, that the combo box 2
    is empty (i.e. nothing selected).
    I also tracked the destination cells for the combo box value results as well as the source cells for the "selected item" and the
    destination cells for the "Insert Selected Item". All this values seem to be correct. Therefore i assume that
    this is an issue of event handling. Maybe the combo box 2 does not refresh its selected value because it is already
    invisible when the values are restored.
    This case can easily be simulated by placing two combo boxes and a push button (that changes the visibility of
    the combo boxes) and the reset button on the canvas.
    Maybe someone can help. I am able to provide a test xlf, if neccessary.
    Thanks,
    Oliver
    P.S. I am using Xcelsius SP4 (Version 5.4.0.0)

    Hello Debjit_Singha_86,
    thank you for your support. At the moment i have the following setting:
    label based menu
    - General: Insertion Type "value" from a list of ID's for the menu-items to a dedicated cell (current menu ID, say tab1!$A$1)
    - Behavior: Selected item (position) fixted to item 1
    hidden combo box
    - General: Insertion Type "position" to a dedicated cell with the current choice (say tab1!$B$1)
    - Behavior: Selected item (position) to the same cell (tab1!$B$1)
    Can you give me a hint on how to connect the two components according to your solution, so that the label based menu sets the default for the hidden combox box only in case, that the reset button is pressed?
    Thanks,
    Oliver

  • How can we pass selected combo box value to a jsp pag?

    Hi All,
    I want to pass selected combo box value to a same jsp page's variable.
    i am using javascript
    <select onchange="this.options[this.selectedIndex].text">
    </select>
    this selected value should be invoked for a jsp page's variable.
    Excepting for favorable reply
    Vansh

    select2.jsp
    <script>
    function x()
         alert(document.f.s.options[document.f.s.selectedIndex].text);
         document.f.submit();
    </script>
    <body>
    <form method="get" name="f" action="select2.jsp">
    <select name="s" onchange="x()">
    <option checked>--select--</option>
    <option value="1"> vijay </option>
    <option value="2"> kumar </option>
    </select>
    </form>
    </body>

  • Combo box in JavaScript and store the combo box values into database

    i am a developer, i have a task ie.. i have combo box in JavaScript and i have to store the combo box values into database through JavaServerPage..
    i please every one to have a look on this and please reply soon....

    dear sir,
    your suggestions are really greater the god.............
    i have applied as you said , now i am the page as updated and also i nform you that its multi select ....
    i will show the codings , then u will get a clear identification
    <script language= "JavaScript">
    <!--
    function one2two() {
        m1len = m1.length ;
        for ( i=0; i<m1len ; i++){
            if (m1.options.selected == true ) {
    m2len = m2.length;
    m2.options[m2len]= new Option(m1.options[i].text);
    for ( i = (m1len -1); i>=0; i--){
    if (m1.options[i].selected == true ) {
    m1.options[i] = null;
    function two2one() {
    m2len = m2.length ;
    for ( i=0; i<m2len ; i++){
    if (m2.options[i].selected == true ) {
    m1len = m1.length;
    m1.options[m1len]= new Option(m2.options[i].text);
    for ( i=(m2len-1); i>=0; i--) {
    if (m2.options[i].selected == true ) {
    m2.options[i] = null;
    //-->
    </script>
    <form method="POST" name="theForm" action="update.jsp">
    <table bgcolor="white" border="1" cellpadding="5" cellspacing="2" align="center">
    <tr><td align="center">
    <select id=menu1 size=10 multiple>
    <option>javascript</option>
    <option>php</option>
    <option>Zeo</option>
    <option>asp</option>
    <option>jsp</option>
    <option>ajax</option>
    <option>struts</option>
    </select>
    <p align="center"><input type="button" onClick="one2two()" value=" >> "></p>
    </td><td align="center">
    Languages you know:<BR>
    <SELECT NAME="language" multiple>
    <OPTION VALUE="c">C
    <OPTION VALUE="c++">C++
    </SELECT>
    <p align="center"><input type="button" onClick="two2one()" value=" << " ></p>
    </td></tr></table>
    <center><input type="submit" value="update"></center>
    </form>
    <h4><u>Back<h4>
    <script language= "JavaScript">
    var m1 = document.theForm.menu1;
    var m2 = document.theForm.language;
    </script>
    </body>
    </html>

  • Selecting combo box value

    Hi,
    I want a code in jsp or javascript for selecting combo box value and it is assigned to another variable.
    Example: If combo box value is Number, it is assigned to 0. If como box value is Name, it is assigned to 1.

    hey thanks for the info hunter...but it is related to core java..actually im workin on jsp,html n stuff..so any help on tht would be refreshing..
    vinay

  • PROBLEM WITH COMBO BOXES..

    HI,
    I AM HAVING TWO COMBO BOXES>>
    COMBO1------ DEPT NAME
    COMBO2------EMPLOYEE NAMES
    I AM COLLECTING DATA OF COMBO1 FROM THE DATABASE.....DEPENDING UPON THE FIRST COMBO i.e DEPT NAME...USING THAT DEPT NAME I HAVE TO COLLECT EMPLOYEES NAMES DATA FROM THE DATABASE AND PLACED IN COMBO2 >>....
    ANY PLS HELP ME......
    I WANT FULL CODE FOR THAT......

    You do this by combining JSPs with a central servlet. I don't know how to do it with just one JSP on its own.
    The JSP does a <form> POST to the servlet. The servlet fetches the combo box values into a List, puts it into request scope, and forwards the response back to the JSP. The JSP gets the List out of request scope and populates the drop-down. You do the same thing when there's a selection in the drop-down: onChange does a POST back to the servlet, which gets the selected value as a parameter, takes the appropriate action, and forwards the response with new data in request scope back to the JSP.
    The trick is to have the data in request scope so the JSP can get it. I think you need a servlet to do that.

  • Problem with combo box in a Matrix column

    hi every one, i  have a user form with a matrix(uid = 37) with some columns and one column is combo box. in that combo box i have to get values  from OSTC table (Code)...i have written this code ..i dont know how to access the combo box so that i can get values to combo box when i execute the prg....
    oitem = oForm.Items.Item("37")  37 is uid of omatrix2
                oMatrix2 = oitem.Specific
                oColumns = oMatrix2.Columns
                oForm.DataSources.UserDataSources.Add("CSR1", SAPbouiCOM.BoDataType.dt_SHORT_TEXT, 1)
                oColumn = oColumns.Item("V_6")                      ''for accessing the combo box item [V_6 is col uid ]
                oCombo = oColumn.Cells.Item(omatrix2.row).Specific            ''''''''problem line
                oCombo.DataBind.SetBound(True, "", "CSR1")
                rset = oDICompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
                query = "select Code from OSTC"
                rset.DoQuery(query)
                Dim tc As String
                rset.MoveFirst()
                For row = 0 To rset.RecordCount - 1
                    tc = rset.Fields.Item("Code").Value
                    oCombo.ValidValues.Add(tc, row)
                    rset.MoveNext()
                Next
                oMatrix2.Columns.Item("V_6").DataBind.SetBound(True, "@SALE_CHILD", "U_Tax")

    Call objMain.objUtilities.LoadComboValuesForMatrix(FormUID, "27", "SELECT Code,Name FROM OSTC Order by Code", "V_19", objMatrix.RowCount)
    Public Sub LoadComboValuesForMatrix(ByVal FormUID As String, ByVal ItemUID As String, ByVal strQuery As String, ByVal MtrxColId As String, ByVal Rowcount As Integer)
            Dim inti As Integer
            objRecSet = objMain.objUtilities.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
            Try
                Dim objmatrix As SAPbouiCOM.Matrix
                Dim objCombo As SAPbouiCOM.ComboBox
                objForm = objMain.objApplication.Forms.Item(FormUID)
                objItem = objForm.Items.Item(ItemUID)
                objmatrix = objItem.Specific
                objCombo = objmatrix.Columns.Item(MtrxColId).Cells.Item(Rowcount).Specific
                objItem.DisplayDesc = True
                objRecSet.DoQuery(strQuery)
                If objRecSet.RecordCount > 0 Then
                    If (objCombo.ValidValues.Count > 0) Then
                        For inti = 0 To objRecSet.RecordCount - 1
                            objRecSet.MoveNext()
                        Next
                    End If
                    If (objCombo.ValidValues.Count <= 0) Then
                        objCombo.ValidValues.Add("", "")
                        For inti = 0 To objRecSet.RecordCount - 1
                            objCombo.ValidValues.Add(Convert.ToString(objRecSet.Fields.Item(0).Value), Convert.ToString(objRecSet.Fields.Item(1).Value))
                            objRecSet.MoveNext()
                        Next
                    End If
                End If
            Catch ex As Exception
                Throw ex
            Finally
                System.Runtime.InteropServices.Marshal.ReleaseComObject(objRecSet)
                GC.WaitForPendingFinalizers()
                GC.Collect()
            End Try
        End Sub

  • How to change screen combo box value from a method?

    Hi,
    I have a screen that has a combo box and an ALV.
    the combo box has the line numbers of the data in the ALV.
    you can select the line item and then the ALV changes...
    I fill the combo with function VRM_SET_VALUE.
    all is good once the user changes the combo box.
    I want to enable the user to click (hotspot) on ALV and then to ... and to change the value of the combo box to the line number he clicked on.
    I couldn't change the value inside that box.
    The combo box is declared as global parameter.
    when I assign a value to it inside the method, it is good. but once back to PAI, it is the old value.
    Do you have any idea how to set up that value?
    Thanks.

    Itay,
    When you load the combo box, you should be setting a "key" for each entry in the combo box.
    See below:
      move '2010FY' to Value-Key.
      move '2010 - Full Year' to Value-Text.
      append value to list.
      move '2010Q1' to Value-Key.
      move '2010 - Q1' to Value-Text.
      append value to list.
      move '2010Q2' to Value-Key.
      move '2010 - Q2' to Value-Text.
      append value to list.
      move '2010Q3' to Value-Key.
      move '2010 - Q3' to Value-Text.
      append value to list.
      move '2010Q4' to Value-Key.
      move '2010 - Q4' to Value-Text.
      append value to list.
      move 'COMBO1' to name.  "name of Combo box in the screen
      call function 'VRM_SET_VALUES'
        exporting
          id = name
          values = list.
    So add these "keys" to a hidden column in the ALV grid.  Then .... when the user presses a hotspot, pass the value of the hidden column (for the selected row) into the COMBO1 box.
      move '2010'FY' into Combo1.  " if they selected Full Year of 2010

  • Problem w/"combo boxes" cause the user to double click for the dropdown menu, but not for everyone.

    I have created a form with Adobe Acrobad Pro 9.
    There are a few "drop-down" boxes for people to choose options from.  I created them with the "Combo box" option.  They work perfectly fine on my laptop (Lenovo T500 windows 7, with all updates up to date.)  I sent the file to another exact same computer and that's when the problem came up.  When you click on the drop-down, the list will quickly appear and then disappear.  Then if you click it again it will stay open so you can choose your option.  However this only happens on "some" computers but not everyone's.  I emailed the exact same form out to other people in my office and they do not have any problems with the form.  There is no need to double click the drop down, it will just open up properly for them.
    Has anyone come across this? And if so, is there maybe a setting on these specific laptops that is preventing the "combo box" to not work properly?  I need to use this specific laptop as a "Kiosk" like a "check out" station for users to fill out the form to check out equipment.  I will be running in Reader so people can not make changes to the form.  (both the Acrobat Pro 9 version and the (most up to date) Reader version of the PDF form does the same "double-click" problem)  I need a date drop down and an equipment type drop down.
    Any suggestions would be greatly appreciated !
    Thanks !

    I've got this kind of problem with a form of mine (designed with LCD) :
    - combo boxes with font-color changing event handlers on :enter
    - on Acrobat 9 Pro : no problem
    - on Reader 8.3 :
          - first click seems to execute the event handler but stops the combo's opening
          - second click does open the combo
    Do you have event handlers on combo:enter ?
    Could the difference between comps where it works and comps where it doesn't be Acrobat's version ?

  • Problem with Combo Box in a Dialog Box

    I have a dialog box that includes a combo box.
    For some reason the combo box shows up under the first text box. In other words, the combo box is not separate from the first field. It has the following:
    ComboBox with Sequence showing, then Enter Identifyer
    Textbox URL
    Textbox Enter Resource 1
    Textbox Enter Resource 2
    Textbox Enter Resource 3
    Textbox Enter Resource 4
    Textbox Enter Resource 5
    It's putting the combo box in the first text field...it should be
    ComboBox with Sequence showing
    URL Textbox
    Enter Identifyer Textbox
    Enter Resource 1 Textbox
    Enter Resource 2 Textbox...
    Here is my code:
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    import java.util.*;
    import javax.swing.*;
    import javax.swing.border.*;
    import javax.swing.event.*;
    import dl.*;
    * Dialog to enter container information
    public class AddContainer extends JDialog {
    private JTextField valueBox1;
    private JTextField valueBox2;
    private JTextField valueBox3;
    private JTextField valueBox4;
    private JTextField valueBox5;
    public String value1;
    public String value2;
    public String value3;
    public String value4;
    public String value5;
    private JTextField identifyerBox;
    private JTextField URLBox;
    private JTextField attrBox;
    public String identifyer;
    public String URL;
    public int choice;
    * Constructor.
    public AddContainer(Frame parent) {
    super(parent, "Add Container", true);
    JPanel pp = new JPanel(new DialogLayout2());
    pp.setBorder(new CompoundBorder(
    new EtchedBorder(EtchedBorder.RAISED),
    new EmptyBorder(5,5,5,5)));
    String[] ContStrings = {  "Sequence", "Bag", "Alternative" };
    // Add action listener.
    ActionListener contlst = new ActionListener() {
    public void actionPerformed(ActionEvent e) {
    JComboBox cb = (JComboBox)e.getSource();
    int choice = (int)cb.getSelectedIndex();
    //Create the combo box, select the item at index 0.
    //Indices start at 0, so 2 specifies the Alternative
    JComboBox ContList = new JComboBox(ContStrings);
    ContList.setSelectedIndex(0);
    ContList.addActionListener(contlst);
    //Add combo box to panel.
    pp.add(ContList);
    pp.add(new JLabel("Enter Identifyer"));
    identifyerBox = new JTextField(16);
    pp.add(identifyerBox);
    pp.add(new JLabel("URL"));
    URLBox = new JTextField(16);
    pp.add(URLBox);
    pp.add(new JLabel("Enter Resource 1"));
    valueBox1 = new JTextField(25);
    pp.add(valueBox1);
    pp.add(new JLabel("Enter Resource 2"));
    valueBox2 = new JTextField(25);
    pp.add(valueBox2);
    pp.add(new JLabel("Enter Resource 3"));
    valueBox3 = new JTextField(25);
    pp.add(valueBox3);
    pp.add(new JLabel("Enter Resource 4"));
    valueBox4 = new JTextField(25);
    pp.add(valueBox4);
    pp.add(new JLabel("Enter Resource 5"));
    valueBox5 = new JTextField(25);
    pp.add(valueBox5);
    JPanel p = new JPanel(new DialogLayout2());
    p.setBorder(new EmptyBorder(10, 10, 10, 10));
    p.add(pp);
    ActionListener lst = new ActionListener() {
    public void actionPerformed(ActionEvent evt) {
    identifyer = identifyerBox.getText();
    URL = URLBox.getText();
    value1 = valueBox1.getText();
    value2 = valueBox2.getText();
    value3 = valueBox3.getText();
    value4 = valueBox4.getText();
    value5 = valueBox5.getText();
    dispose();
    JButton saveButton = new JButton("ADD");
    saveButton.addActionListener(lst);
    getRootPane().setDefaultButton(saveButton);
    getRootPane().registerKeyboardAction(lst,
    KeyStroke.getKeyStroke(KeyEvent.VK_ENTER, 0),
    JComponent.WHEN_IN_FOCUSED_WINDOW);
    p.add(saveButton);
    JButton cancelButton = new JButton("Cancel");
    lst = new ActionListener() {
    public void actionPerformed(ActionEvent evt) {
    dispose();
    cancelButton.addActionListener(lst);
    getRootPane().registerKeyboardAction(lst,
    KeyStroke.getKeyStroke(KeyEvent.VK_ESCAPE, 0),
    JComponent.WHEN_IN_FOCUSED_WINDOW);
    p.add(cancelButton);
    getContentPane().add(p, BorderLayout.CENTER);
    pack();
    setResizable(false);
    setLocationRelativeTo(parent);

    Seems the problem is in your DialogLayout2 class which must be in package dl. I tried a grid layout and got something that looks like what you described. I laid out pp with a gridbag layout.
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    import java.util.*;
    import javax.swing.*;
    import javax.swing.border.*;
    import javax.swing.event.*;
    //import dl.*;
    * Dialog to enter container information
    public class jello extends JDialog {
      private JTextField valueBox1;
      private JTextField valueBox2;
      private JTextField valueBox3;
      private JTextField valueBox4;
      private JTextField valueBox5;
      public String value1;
      public String value2;
      public String value3;
      public String value4;
      public String value5;
      private JTextField identifyerBox;
      private JTextField URLBox;
      private JTextField attrBox;
      public String identifyer;
      public String URL;
      public int choice;
      * Constructor.
      public jello(JFrame parent) {
        super(parent, "Add Container", true);
        GridBagLayout gridbag = new GridBagLayout();
        GridBagConstraints gbc = new GridBagConstraints();
        JPanel pp = new JPanel(gridbag);
                            //(new GridLayout(0,2));
                            //(new DialogLayout2());
        pp.setBackground(Color.red);
        pp.setBorder(
          new CompoundBorder(
            new EtchedBorder(EtchedBorder.RAISED),
            new EmptyBorder(5,5,5,5)));
        String[] ContStrings = { "Sequence", "Bag", "Alternative" };
        // Add action listener.
        ActionListener contlst = new ActionListener() {
          public void actionPerformed(ActionEvent e) {
            JComboBox cb = (JComboBox)e.getSource();
            int choice = (int)cb.getSelectedIndex();
        //Create the combo box, select the item at index 0.
        //Indices start at 0, so 2 specifies the Alternative
        JComboBox ContList = new JComboBox(ContStrings);
        ContList.setSelectedIndex(0);
        ContList.addActionListener(contlst);
        //Add combo box to panel.
        gbc.insets = new Insets(2,2,2,2);
        gbc.anchor = gbc.WEST;
        gbc.gridwidth = gbc.REMAINDER;
        pp.add(ContList, gbc);
        gbc.anchor = gbc.EAST;
        gbc.gridwidth = gbc.RELATIVE;
        pp.add(new JLabel("Enter Identifyer"), gbc);
        identifyerBox = new JTextField(16);
        gbc.anchor = gbc.WEST;
        gbc.gridwidth = gbc.REMAINDER;
        pp.add(identifyerBox, gbc);
        gbc.anchor = gbc.EAST;
        gbc.gridwidth = gbc.RELATIVE;
        pp.add(new JLabel("URL"), gbc);
        URLBox = new JTextField(16);
        gbc.anchor = gbc.WEST;
        gbc.gridwidth = gbc.REMAINDER;
        pp.add(URLBox, gbc);
        gbc.anchor = gbc.CENTER;
        gbc.gridwidth = gbc.RELATIVE;
        pp.add(new JLabel("Enter Resource 1"), gbc);
        valueBox1 = new JTextField(25);
        gbc.gridwidth = gbc.REMAINDER;
        pp.add(valueBox1, gbc);
        gbc.gridwidth = gbc.RELATIVE;
        pp.add(new JLabel("Enter Resource 2"), gbc);
        valueBox2 = new JTextField(25);
        gbc.gridwidth = gbc.REMAINDER;
        pp.add(valueBox2, gbc);
        gbc.gridwidth = gbc.RELATIVE;
        pp.add(new JLabel("Enter Resource 3"), gbc);
        valueBox3 = new JTextField(25);
        gbc.gridwidth = gbc.REMAINDER;
        pp.add(valueBox3, gbc);
        gbc.gridwidth = gbc.RELATIVE;
        pp.add(new JLabel("Enter Resource 4"), gbc);
        valueBox4 = new JTextField(25);
        gbc.gridwidth = gbc.REMAINDER;
        pp.add(valueBox4, gbc);
        gbc.gridwidth = gbc.RELATIVE;
        pp.add(new JLabel("Enter Resource 5"), gbc);
        valueBox5 = new JTextField(25);
        gbc.gridwidth = gbc.REMAINDER;
        pp.add(valueBox5, gbc);
        JPanel p = new JPanel();//(new DialogLayout2());
        p.setBackground(Color.blue);
        p.setBorder(new EmptyBorder(10, 10, 10, 10));
        p.add(pp);
        ActionListener lst = new ActionListener() {
          public void actionPerformed(ActionEvent evt) {
            identifyer = identifyerBox.getText();
            URL = URLBox.getText();
            value1 = valueBox1.getText();
            value2 = valueBox2.getText();
            value3 = valueBox3.getText();
            value4 = valueBox4.getText();
            value5 = valueBox5.getText();
            dispose();
        JButton saveButton = new JButton("ADD");
        saveButton.addActionListener(lst);
        getRootPane().setDefaultButton(saveButton);
        getRootPane().registerKeyboardAction(lst,
          KeyStroke.getKeyStroke(KeyEvent.VK_ENTER, 0),
          JComponent.WHEN_IN_FOCUSED_WINDOW);
        p.add(saveButton);
        JButton cancelButton = new JButton("Cancel");
        lst = new ActionListener() {
          public void actionPerformed(ActionEvent evt) {
            dispose();
        cancelButton.addActionListener(lst);
        getRootPane().registerKeyboardAction(lst,
          KeyStroke.getKeyStroke(KeyEvent.VK_ESCAPE, 0),
          JComponent.WHEN_IN_FOCUSED_WINDOW);
        p.add(cancelButton);
        parent.getContentPane().add(p, BorderLayout.CENTER);
        parent.pack();
        parent.setResizable(false);
    //    setLocationRelativeTo(parent);
        parent.setVisible(true);
      public static void main(String[] args) {
        JFrame frame = new JFrame();
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        new jello(frame);
        frame.setLocation(0,200);
    }

  • Combo box values

    hi
    when i choose cfl in first column of matrix the another column(combox box) show only releated values of first column..
    for example when i choose when i choose sales order number in first column the combo box columns show only that sales order items no only...not for all items...please any one help me....
    Dim str, str1 As String
                            Dim oForm As SAPbouiCOM.Form
                            oForm = veeAppApplication.Forms.Item("Plan")
                            veeMatConvMatrix = oForm.Items.Item("PlansMat").Specific
                            'str = veeMatConvMatrix.Columns.Item("Assigned").Cells.Item(pVal.Row).Specific.value
                            str1 = gonMatConvMatrix.Columns.Item("Ecode").Cells.Item(pVal.Row).Specific.value
                            If str1 <> "" Then
                                Dim tmpTotal As String
                                tmpTotal = str1
                                Dim Rs As SAPbobsCOM.Recordset
                                Rs = veeCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
                                Rs.DoQuery("SELECT T0.[U_StName] FROM [dbo].[@PLAN_DETAIL]  T0 inner join [dbo].[@PLAN_HEADER]  T1 on t0.docentry=t1.docentry WHERE T1.[U_Prcode] = '" + str1 + "'")
                                Dim iRemark As String
                                iRemark = (Rs.Fields.Item("U_StName").Value)
                                veeMatConvMatrix.Columns.Item("Col_Ctask").Cells.Item(pVal.Row).Specific.value = iRemark
                                BubbleEvent = False
                                                       End If

    I think you have to manually populate each combobox after the first column selection is over.
    You have to remove values from the combo box and then add only satisfied values to it.
    For a comboboxcolumn all the cells in this column will be showing the same valid values.
    Example.
    First row-> Sales Order number is 1 - populate the column with those items
    When you move to second, you have to remove all items and then add related items to the combo box.
    Any other method?
    Thanks

  • "Paste" problem in Combo box...

    I have a number of forms with combo boxes in them. These Combo Boxes contain addresses. I want to "add" and "item" to the list.
    When I try, it will only let me phsically type the addess into the add item box!
    I have a dozen forms I need to add the exact same address to. PLEASE tell me this is some kind of sick joke that you cannot use a *basic* windows convention to "paste" into an input box!!!??? Please tell me that I am missing something very basic here. Adobe was supposed to *save* time, not waste it!
    This problem is also compunded by the fact that there is no option to center items entered into the form from the drop-down list! So I have to manually add spaces to get it close to centered. C'mon guys.... where is the justification optin for this?
    HELP!

    OK, there is a first time for everything....
    Seems the computers in question have a little utility installed called "Pure Text". I have used this with no compatibility problems - until now. What it does is provide a key-stroke method for cuting and pasting only the text - so it strips out all formatting.
    For whatever reason, this utility does not work with Actobat Standard 9. As soon as I exit the utility (it loads on boot), then pasting works just fine.
    I have already e-mailed the Author.
    Double checked the "appearance" tab - no alignment options there.
    Live & learn! Now it's getting close to lunch... where are those crows...

  • Problem regarding Combo boxes in JSP

    Hi all,
    I have two combo boxes on jsp page, i want to fill the second CB by value of first CB, and both CBs have values from Database, i tried it many times but cant got solution
    plz help me its very urgent and if possible provide code plz
    thanks

    http://forum.java.sun.com/thread.jspa?threadID=597553

  • Adobe Reader app on my ipad air problem with combo boxes filling in

    I am using Adobe Reader app on my ipad air and when filling out forms, and making a selection from a combo box, my selection dissappears.  Not visible, not printable, not savable, just blank.  It works well on my Reader on my Windows desktop.  Any ideas?

    cas ecowater,
    We can examine your PDF forms and determine the cause of the problem.
    Would you send the PDF forms as email attachments to [email protected]?  Please include the link to this forum post (https://forums.adobe.com/thread/1634405) in your email message for reference.
    Thank you.

  • Small Problem with Combo Boxes

    Hi again everyone
    I am currently trying to add results to a Java league system.I am trying to update the number of games played for the team that has been selected by the combo box1 but it will will not compile
    The code for this is below
    newLeague.getTeams()[jComboBox1.getSelectedItem()].setGP() = newLeague.getTeams()[jComboBox1.getSelectedItem()].setGP() +1;
    Any help is greatly appreciated
    Thanks

    Thanks for your response
    I have tried that code but there are 4 compilation errors
    UpdateLeague.java [103:1] incompatible types
    found : java.lang.Object
    required: int
    newLeague.getTeams()[jComboBox1.getSelectedItem()].setGP(newLeague.getTeams()[jComboBox1.getSelectedItem()].getGP()+1);
    ^
    UpdateLeague.java [103:1] cannot resolve symbol
    symbol : method getGP ()
    location: class Team
    newLeague.getTeams()[jComboBox1.getSelectedItem()].setGP(newLeague.getTeams()[jComboBox1.getSelectedItem()].getGP()+1);
    ^
    UpdateLeague.java [103:1] incompatible types
    found : java.lang.Object
    required: int
    newLeague.getTeams()[jComboBox1.getSelectedItem()].setGP(newLeague.getTeams()[jComboBox1.getSelectedItem()].getGP()+1);
    ^
    UpdateLeague.java [103:1] cannot resolve symbol
    symbol : method setGP (java.lang.String)
    location: class Team
    newLeague.getTeams()[jComboBox1.getSelectedItem()].setGP(newLeague.getTeams()[jComboBox1.getSelectedItem()].getGP()+1);
    ^
    4 errors
    Errors compiling UpdateLeague.
    The method code is below
    private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
    int x,y;
    x = 0;
    y = 0;
    try
    String s = jTextField1.toString();
    String t = jTextField2.toString();
    x = Integer.parseInt(s);
    y = Integer.parseInt(t);
    catch (NumberFormatException e){
    if (x > y )
    newLeague.getTeams()[jComboBox1.getSelectedItem()].setGP(newLeague.getTeams()[jComboBox1.getSelectedItem()].getGP()+1);
    else
    if (x == y)
    else
    if (y > x)
    }

Maybe you are looking for

  • Audio monitoring follows video to Firewire Output

    I'm a new FCS/Soundtrack Pro user but have been using ProTools LE and HD for some time. When I select Video Out Firewire to view my video on an external monitor my audio monitoring follows and feeds the firewire device instead of my internal Mac outp

  • OBI crashing when creating a view on an analysis (initially created table view works fine)

    Wondering if anyone else has experienced this. It seems pretty wierd because the initial view gets created. This is what happens: I create a new analysis. Data source doesn't matter. I have tried Sample App Lite & 2 different Essbase cubes. Drop some

  • Jar and classpath with space in folder name?

    Hi, all. Just for fun: what if I have a jar file that is dependant on the other jar file which is placed in folder with space in its name? How would I link it in manifest file? Thanks.

  • Changing Administrative data in Layout set (SE71)

    Hi All, I have copied another system layout set extract & uploaded into my system by changing user name in the extract. But i got few fields wrongly updated in Adminitstrative data. I have already made some changes to layout set. so i can't upload ag

  • Macbook Pro Get's Hot During GamePlay + Video Watching

    I'm new to mac's, so sorry if this may sound new to anyone. I recently purchased a new MBP 2011 edition, 13in, 2.7ghz with 8gb of ram. I downloaded Steam and the game Counter Strike, I noticed that the computer started to get very hot after a few min