Can we give two combo box destination in same rows and coloumn?

Hi Experts,
Can you tell me Is it possible two combo destination in same rows and coloumn. If possible explain me..
i have tried first destination place in one particular cells and second placed it same place. while running it shows second one placed value only showing.
First combo box value is not showing

Hi Manikandan
What are you trying to achieve here? Offcourse, later will replace the previous. How do you need it to behave like? What is the ultimate goal?
Runali

Similar Messages

  • How can i make 2 combo boxes as the same data source and group by each combo box items separately?

    I have 2 combo boxes  If I have data table like below
    TableA
    ID  NAME
    1     A
    2     B
    3     C
    4     A
    I make "TableA" as data source of "combobbox1" and "combobox2" like
    combobox1.datasource = TableA
    combobox1.displaymember = "ID"
    combobox2.datasource = TableA
    combobox2.displaymember = "Name"
    I want when combobox2 select index at "A"  , Combobox1 show only the items at ID = 1 And ID = 4
    Thanks 

    This is not actually a question to be posted in SQL Server. Here is a link for ASP.NET forum.
    http://forums.asp.net/
    It looks like there is a filter that can be applied in .NET dataset and populate the results in your combobox1. You may get better help from .NET forums for this question.

  • Can you have two itunes accounts on the same computer?

    Can you have two itunes accounts on the same computer and if so how do you access them without syncing each others music?

    Yes. Use separate iTunes libraries(launch iTunes with the Shift(Windows) or Option(Mac OS X) key held down as needed), or different user accounts on the computer.
    (100648)

  • Can I open two Safari windows at the same time?

    Can I open two Safari windows at the same time and split the windows in two on my screen? Right now, I have to open Safari and Firefox to get the split screen. I know I can press command to get multiple tabs, but that's not what I want. I want to use Safari on two open windows.

    HI,
    Open a browser window in Safari. Then Command + N
    Press command and ~ or ` to toggle between the windows.
    Carolyn

  • **urgent*** -two  combo boxes  -one  database table - ***urgent**

    1. i have one html page - in that two combo boxes are there
    2. first one called--> Bank Name and second one called-->Main Branch
    3. i have a database table like BANK_MASTER(MAIN_BRANCH,BANK_NAME)
    i am giving here some data for the above table:
    (sbi-kurnool, sbi),(sbi-cadapah,sbi),(sbi-chittor,sbi),(ab-rangareddy,ab),(ab-varangal,ab) ..like that every bank has its own main branch in different location.
    MY PROBLEM:
    In HTML page, in the first combo box ie., Bank Name will display all the bank name using the table BANK_MASTER ie.,sbi,ab,cb,sbh ...... (its ok - i too get )
    main Problem: Whenever i select a particular bank name in the first combo box, the second combo box ie.,Main Branch has to display the main branches using the table Bank_Master depending on the Selected bank name from the Bank Name Combo box ( ie., if we select the sbi, it has to display all main branches of sbi's only, but not other bank's main branches)

    Hi friend,
    I had a similar situation and i tried to solve it by using XmlHttpRequest Object(used in AJAX).
    U can checkout the below example just for further reference delete
    UserForm.jsp:
    ==========
    <head>
    <script>
    var xmlHttp
    function showState(str)
    xmlHttp=GetXmlHttpObject()
    if (xmlHttp==null)
    alert ("Browser does not support HTTP Request")
    return
    var url="getState.jsp"
    url=url+"?count="+str
    url=url+"&sid="+Math.random()
    xmlHttp.onreadystatechange=stateChange
    xmlHttp.open("GET",url,true)
    xmlHttp.send(null)
    function stateChange()
    if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete"){
    document.getElementById("state").innerHTML=xmlHttp.responseText
    </head>
    <body>
    <select name='country' onchange="showState(this.value)">
    <option value='india>india</option>
    </select>
    <br>
    <div id='state'>
    <select name='state' >
    <option value='-1'>pickone</option>
    </select>
    </div>
    </body>       
    getState.jsp
    ============
    <%@page language="java" import ="java.util.Hashtable" import ="java.util.Set" %>
    <%
    String country=request.getParameter("count");
    response.setContentType("text/html");
    response.setHeader("Cache-Control","no-cache");
    try{
    Hashtable ht = (Hashtable)session.getAttribute("<ATTRIBUTE_NAME>");
    String buffer="<select name='state'><option value='-1'>Pick One</option>";
    Set s=ht.keySet();
    Object keys[]=s.toArray();
    int size=keys.length;
    for(int i=0; i < size;i++){
    buffer=buffer+"<option value='"+ht.get(keys).toString()+"'>"+ht.get(keys).toString()+"</option>";
    buffer=buffer+"</select>";
    response.getWriter().println(buffer);
    catch(Exception exp){
    response.getWriter().println(exp);
    %> I think u may go upon replacing country with your Main Branch and vice versa

  • How to link two combo boxes? (urgent)

    Hello,
    I am wondering how to link two combo boxes in Acrobat Pro 9. Basically, I need to link a building with a list of rooms. There are 3 building choices in my first combo box. For the sake of example, Building A, Building B and Building C. When one of the buildings is selected, I want a 2nd combo box to display the rooms that are located in that building. So by selecting building A, you would then be able to choose a room from the list of available rooms in the second drop box. The buildings cannot share a list of rooms because they have the same room numbers. Is anyone able to help?
    - Travis

    You can also use ajax. When the first combo box element is selected, it will call the ajax function and that ajax function will bring the data from the database and place it in second combo box.

  • How can I make the combo box turn to the value of black.

    When the show button is pressed (and not before), a filled black square should be
    displayed in the display area. The combo box (or drop down list) that enables the user to choose the colour of
    the displayed shape and the altering should take effect immediately.When the show button is pressed,
    the image should immediately revert to the black square, the combo box should show the value that
    correspond to the black.
    Now ,the problem is: after I pressed show button, the image is reverted to the black square,but I don't know
    how can I make the combo box turn to the value of black.
    Any help or hint?Thanks a lot!
    coding 1.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.event.*;
    public class test extends JFrame {
         private JPanel buttonPanel;
         private DrawPanel myPanel;
         private JButton showButton;
         private JComboBox colorComboBox;
    private boolean isShow;
         private int shape;
         private boolean isFill=true;
    private String colorNames[] = {"black", "blue", "cyan", "darkGray", "gray",
    "green", "lightgray", "magenta", "orange",
    "pink", "red", "white", "yellow"}; // color names list in ComboBox
    private Color colors[] = {Color.black, Color.blue, Color.cyan, Color.darkGray,
                              Color.gray, Color.green, Color.lightGray, Color.magenta,
                              Color.orange, Color.pink, Color.red, Color.white, Color.yellow};
         public test() {
         super("Draw Shapes");
         // creat custom drawing panel
    myPanel = new DrawPanel(); // instantiate a DrawPanel object
    myPanel.setBackground(Color.white);
         // set up showButton
    // register an event handler for showButton's ActionEvent
    showButton = new JButton ("show");
         showButton.addActionListener(
              // anonymous inner class to handle showButton events
         new ActionListener() {
                   // draw a black filled square shape after clicking showButton
         public void actionPerformed (ActionEvent event) {
                             // call DrawPanel method setShowStatus and pass an parameter
              // to decide if show the shape
         myPanel.setShowStatus(true);
                   isShow = myPanel.getShowStatus();
                                            shape = DrawPanel.SQUARE;
                        // call DrawPanel method setShape to indicate shape to draw
                                            myPanel.setShape(shape);
                        // call DrawPanel method setFill to indicate to draw a filled shape
                                            myPanel.setFill(true);
                        // call DrawPanel method draw
                                            myPanel.draw();
                             myPanel.setFill(true);
                             myPanel.setForeground(Color.black);
                   }// end anonymous inner class
         );// end call to addActionListener
    // set up colorComboBox
    // register event handlers for colorComboBox's ItemEvent
    colorComboBox = new JComboBox(colorNames);
    colorComboBox.setMaximumRowCount(5);
    colorComboBox.addItemListener(
         // anonymous inner class to handle colorComboBox events
         new ItemListener() {
         // select shape's color
         public void itemStateChanged(ItemEvent event) {
         if(event.getStateChange() == ItemEvent.SELECTED)
         // call DrawPanel method setForeground
         // and pass an element value of colors array
         myPanel.setForeground(colors[colorComboBox.getSelectedIndex()]);
    myPanel.draw();
    }// end anonymous inner class
    ); // end call to addItemListener
    // set up panel containing buttons
         buttonPanel = new JPanel();
    buttonPanel.setLayout(new GridLayout(4, 1, 0, 50));
         buttonPanel.add(showButton);
    buttonPanel.add(colorComboBox);
    JPanel radioButtonPanel = new JPanel();
    radioButtonPanel.setLayout(new GridLayout(2, 1, 0, 20));
    Container container = getContentPane();
    container.setLayout(new BorderLayout(10,10));
    container.add(myPanel, BorderLayout.CENTER);
         container.add(buttonPanel, BorderLayout.EAST);
    setSize(500, 400);
         setVisible(true);
         public static void main(String args[]) {
         test application = new test();
         application.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    coding 2
    import java.awt.*;
    import javax.swing.*;
    public class DrawPanel extends JPanel {
         public final static int CIRCLE = 1, SQUARE = 2;
         private int shape;
         private boolean fill;
         private boolean showStatus;
    private int shapeSize = 100;
    private Color foreground;
         // draw a specified shape
    public void paintComponent (Graphics g){
              super.paintComponent(g);
              // find center
    int x=(getSize().width-shapeSize)/2;
              int y=(getSize().height-shapeSize)/2;
              if (shape == CIRCLE) {
         if (fill == true){
         g.setColor(foreground);
              g.fillOval(x, y, shapeSize, shapeSize);
    else{
                   g.setColor(foreground);
    g.drawOval(x, y, shapeSize, shapeSize);
              else if (shape == SQUARE){
         if (fill == true){
         g.setColor(foreground);
                        g.fillRect(x, y, shapeSize, shapeSize);
    else{
                        g.setColor(foreground);
    g.drawRect(x, y, shapeSize, shapeSize);
    // set showStatus value
    public void setShowStatus (boolean s) {
              showStatus = s;
         // return showstatus value
    public boolean getShowStatus () {
              return showStatus;
         // set fill value
    public void setFill(boolean isFill) {
              fill = isFill;
         // set shape value
    public void setShape(int shapeToDraw) {
              shape = shapeToDraw;
    // set shapeSize value
    public void setShapeSize(int newShapeSize) {
              shapeSize = newShapeSize;
    // set foreground value
    public void setForeground(Color newColor) {
              foreground = newColor;
         // repaint DrawPanel
    public void draw (){
              if(showStatus == true)
              repaint();

    Hello,
    does setSelectedIndex(int anIndex)
    do what you need?
    See Java Doc for JComboBox.

  • Can I use my new 4gs on a line different then the one it was upgraded on. I have many phones on my account. I am not eligible for upgrade but I had to buy two new phones for others. Can I give one of them my old iPhone 4 and take the 4gs.?

    I have many phones on my account. I am not eligible for upgrade but I had to buy two new phones for others. Can I give one of them my old iPhone 4 and take the 4gs? Thinking maybe switch sim cards? Thanks in advance for any help

    Yes.
    Just call your provider and tell them what you want and they will help you get it done properly.

  • How to compare value of two Combo Box

    I've two Combo Box(cbFirst & cbSecond). I want to compare the value that has been selected by the user and based on the result, output is displayed. In both Combo Box I've provided the value.
    Here is my code:
    var a:Number;
    var b:Number;
    function First(evt:Event):void{
        a = evt.target.value;
        trace(a);   
    cbFirst.addEventListener(Event.CHANGE, First);
    function Second(evt:Event):void{
        b = evt.target.value;
        trace(b);
    cbSecond.addEventListener(Event.CHANGE, Second);
    If (a > b){
         trace("a is greater")
    else
         trace(b is greater);
    The trace statement inside the functions are working fine and the correct value of a & b is printed. But the comparison in the if statement doesn't seem to work. Could you please help me out.

    there's a typo.  fix it or remove it:
    var a:Number;
    var b:Number;
    function First(evt:Event):void{
        a = evt.target.value;
    trace(a);
       compareF();
    cbFirst.addEventListener(Event.CHANGE, First);
    function Second(evt:Event):void{
        b = evt.target.value;
        trace(b);
    compareF()
    cbSecond.addEventListener(Event.CHANGE, Second);
    function compareF(){
    If (a > b){
         trace("a is greater")
    else
         trace(b is greater);

  • How can we give two name for a single material ??

    Hi friends
    how can we give two name for a single material ??
    e.g.. if single material is sold to different customer by different names
    then how can we do that ??

    Yes
    you can achieve it thro CMIR in T code VD51
    Go to T code VD51 choose that customer and material combination and click on to its details blue lens on application tool bar
    In the screen which is coming ,enter your description in the CUSTOMER DESCRIPTION tab the second one and save
    Now create a sales order and see
    Your requirement will be fulfilled
    If a material is pen description is ball pen in material master and for customer A you have defined it as Pen 1 and description as Super ball pen in VD51
    If a material is pen description is ball pen in material master and for customer B  you have defined it as Pen 1 and description as  VerySuper ball pen in VD51
    Now in sales order the description will appear as Super ball pen for Customer A
    Now in sales order the description will appear as Very Super ball pen for Customer B
    Hence the material pen whose description is ball pen in MMR will appear as super ball pen for customer A and very super ball pen for customer B
    Hope you have checked the field info record in VOV8
    I have tried this tested this and getting it
    Regards
    Raja
    Edited by: ramanathan raja on Dec 8, 2008 5:54 PM

  • How can i give two tcode in same program

    Hi all,
    How can I give two tcode to the same program in which two conditions call in that two t codes
    how can I do so please help me for that.
    Ketan
    ABAP consultant

    hi,
    In your case, if the calling of the two transactions is mutually exclusive,
    then
    IF
    call transaction 'A'.
    else.
    Call transaction 'B'.
    endif.
    else,
    if you need to call the transactions one after the other,
    CALL TRANSACTION 'A'.
    CALL TRANSACTION 'B'.
    Thanks
    Sharath

  • Can't select a combo box?

    I'm fairly new to Flash and am having a little problem.
    Basically I have a the top of a clipboard visible at the
    bottom of the screen. When it is rolled over the clipboard rises up
    from the bottom until it is completely visible on the stage. I did
    this by creating a movieclip containing the picture of a clipboard
    and tweening it to come up, and then reversing it to go back down.
    I placed stop actions at the beginning of the movieclip, the fully
    visible position, and a gotoAndStop command at the end of the
    movieclip to return it to the start. I placed the movieclip on the
    stage, and used onRollOver and onRollout events to trigger the
    tweens.
    To ensure that the bottom of the clipboard isn't visible when
    the clipboard is off screen, I added a mask over the stage area so
    that only the portion of the clipboard on the stage will ever be
    visible.
    Here comes the question: Now I need for the clipboard to
    display a few questions with combo boxes that the user can select
    and choose an answer from when the clipboard is in it's fully
    visible position. I can get the questions onto the clipboard by
    placing them in their own layer within the movieclip. However, I
    can't make the combo boxes selectable. Is this a focus problem? Do
    I just have the questions layer in the wrong place? Does any of
    this even make sense? Any help would be greatly appreciated.

    I'm fairly new to Flash and am having a little problem.
    Basically I have a the top of a clipboard visible at the
    bottom of the screen. When it is rolled over the clipboard rises up
    from the bottom until it is completely visible on the stage. I did
    this by creating a movieclip containing the picture of a clipboard
    and tweening it to come up, and then reversing it to go back down.
    I placed stop actions at the beginning of the movieclip, the fully
    visible position, and a gotoAndStop command at the end of the
    movieclip to return it to the start. I placed the movieclip on the
    stage, and used onRollOver and onRollout events to trigger the
    tweens.
    To ensure that the bottom of the clipboard isn't visible when
    the clipboard is off screen, I added a mask over the stage area so
    that only the portion of the clipboard on the stage will ever be
    visible.
    Here comes the question: Now I need for the clipboard to
    display a few questions with combo boxes that the user can select
    and choose an answer from when the clipboard is in it's fully
    visible position. I can get the questions onto the clipboard by
    placing them in their own layer within the movieclip. However, I
    can't make the combo boxes selectable. Is this a focus problem? Do
    I just have the questions layer in the wrong place? Does any of
    this even make sense? Any help would be greatly appreciated.

  • Can you have two different iTunes accounts on same computer?

    Can you have two different iTunes accounts on same computer?

    J2217 wrote:
    I'm going to give my old iPad to my granddaughter, I want to create an account for her, but I want to do it on my computer so there are no worries about who is spending credits for that account. Don't know how this will work, or if its possible to two iTunes libraries.
    Okay.
    She's going to use your computer to sync with iTunes.
    Create an new computer login on your computer for her. This will keep her stuff separate and she won't be able to mess with any of your info.
    Log into her computer account.
    Launch iTunes.
    Create a new iTunes account for her. See this -> http://support.apple.com/kb/HT2731
    You can enter a credit card to create the account then delete the CC info. Or you can use an iTunes gift card and she can fund the account with gift cards instead of using a CC to make purchases. This is an easy way to control spending.
    on the iPad, go to Settings > iMessage > Off.
    Then Settings > General > Reset > Erase all content & settings.
    Once it finishes, plug in the iPad, select it in iTunes and this will set it up as a new device. Enter all your granddaughter's info.
    When she wants to sync her iPad or use iTunes, she needs to log into your computer with her account.
    Then the iTunes library she uses will be only hers.

  • Combo box restricted to 516 rows

    Hi,
    I have data upto 1000 rows which i need to feed to a combo box. But the max limit a combo box takes is 516 rows only.
    Is there any work around for this?
    Regards,
    Jith

    The data i have is names of clients. I have one combo box with labels of starting letter example A, B, C, etc to Z. The insertion type is Filtered Rows. Now Source data is the whole 1800 rows. The destination rows are the labels for the second combo box.
    Data is like this:
    Col1 Col2
    A      Anand
    A      Arpan
    A      Anil
    Z      Zebra
    Like this i have total of 1800 rows.
    I went to file preferences and in excel options i have changed to 1800 rows. It looks ok BUT, If i try to preview it, it just hangs. And if i try to export it into a flash file it just shows the top 512 rows, it is not showing the whole 1800 rows.
    Thanks For your help. Any Ideas how to deal with this large data?
    Regards
    Jith

  • Can i use two icloud accounts on the same computer?

    can i use two icloud accounts on the same computer?

    You can have content from two iTunes Store accounts in one library, and multiple libraries on a computer.
    (98306)

Maybe you are looking for

  • Counting vowels in a word.

    I am to write a recursive program that counts the number of vowels in a given String. So far, this is what I have: public static int CountVowels( String s ) if ( s.length() == 0 )   return 0; else   if ( (s.substring(0,1) == "a") || (s.substring(0,1)

  • Elements 11 free trial runtime error

    I am six days into a free trialof Elements 11. Today I received the message: Runtime error! The application has requested the Runtime to terminate it in an unusual way. What do I do now?

  • Sca file dependencies error

    Hi , I have installed the SAP netwaever 7.3 which got installed sucessfully. But the portal part did not ahve the "Content Administatrion" stuff. So i could not create the PCD roles not could i view the existing ones. Then i went to the support packa

  • Cannot download coverted pdf to word file

    Signed up last evening for the product. Uploaded 2 documents for conversion from pdf to word. Conversion runs and indicates file is available for down load. Click on down load and get this error message.

  • A/c cord

    Is the A/C cord a standard 2 plug cord or does it have an adaptor (wall wort)?