Reversing the ComboBox

Hello. I was recently given a specification for an application I've been developing for a significant amount of time now. All these combo boxes that are used in various query and edit forms on the application, are populated by a "select distinct" from tables in the database. The only issue is adding new fields to the combo boxes without creating a "sample" entry into the table. I've been brainstorming several ideas, one being a checkbox that is verified whenever the page loads, if checked then it will load a textbox instead of the combobox. This works for customization of the queries, but can anyone think of a way for users to add "temporary" values in the comboboxes. If this can be done then any edit form will have the ability to use new information in the entries.

ok

Similar Messages

  • I have just updated to iOS7, no icon for browser, was using Safari, how do I get it back and can I reverse the upgrade and go back to iOS6?

    I have just updated to iOS7, no icon for browser, was using Safari, how do I get it back and can I reverse the upgrade and go back to iOS6?  Thanks to you from the UnTechie

    The icon for Safari has probably moved to make room for new apps. Scroll the Home screen to look for it.
    You cannot reverse the upgrade.

  • Not possible to reverse the document in financial accounting Error

    Hi All
    We are getting invoice Data from Client
    through  ACC_EMPLOYEE_PAY02  
    Document Like
    31 45699(vendor )    2356.00
    31 45688 (vendor)    1245.00
    31 45677 (vendor)    1000.00
    31 45666 (vendor)    2000.00
    40  Accur(Clearing)       6601.00
    In this list some of vendors i did payment Run.
    I need to reverse the 1 vendor open Item.
    It is showing open item but i am unable to reverse this document.
    i tried to FB03 but it is showing Below Error
    Not possible to reverse the document in financial accounting
    Message no. F5673
    Diagnosis
    Document '1900000003' in company code '1164' should be reversed. However,
    this document was not posted in the Financial Accounting module, HRPAY is, rather, of type ''.
    System Response
    Documents which were not originally posted in Financial Accounting also cannot be reversed in Financial Accounting.
    Procedure
    Reverse the original transaction. 
    You can display the original document from the FI document via 'Environment' -> 'Original doc.'.
    I tried to trace Original Document.
    trhough Environment -> Original Doc.
    ERROR is
    Payroll Posting Document 000000091 does not exist
    How to Reverse the Open Item.
    raju.

    Hi,
    SAP doesn't allow you to reverse a document in FI if it was created subsequently from another module (in your case HR).
    Why don't you use F-44 transaction code to manually clear the open vendor line item and offset it against the same clearing account?
    Regards

  • Length of a string in a combobox exceeds the width of the combobox

    How do you fix this:
    The length of a string in a combobox exceeds the width of the combobox and as a result, the comboBox changes its size :-(
    I don't want it to change the size even if the length of the string exceeds the width of the comboBox
    what should i do?

    ok i got it
              Dimension d =combo.getPreferredSize();
    combo.setPreferredSize(new Dimension(50, d.height));
    anyone with better solution?

  • Invoice is not coming in open status even after reversing the payment docum

    Hi,
        I have posted an invoice Through Transaction code FBA7(Post vendor down payment) for an amount of 2500. After that i made payment of 2500 through F110.
    Now the status in FBL1N is that invoice document is showing as cleared and payment document which generated through F110 is open status.
    I want to reverse the payment document inorder to keep that invoice in open status. I reversed that through FB08. But still that invoice is shoiwng in cleared status.
    Requesting you to please provide me valuable suggestion on this.
    Points will be awarded.
    Regards,
    Shree

    Hi Sudheer,
                    I am trying the steps as you suggested i.e reversing and resetting. But it is giving the following error.
    Use the transaction for resetting check payments
    Message no. FS642
    Diagnosis
    When resetting a check payment, you must specify a void reason code.
    Procedure
    Use the transaction defined for resetting a check payment.
    Information about the check concerned is stored in company code 5454, house bank SIGCO, account MEON under check number 0000000918388.
    Proceed
    Now when i am proceeding, it is taking me to T.code FCH8.
    Regards,
    Shree.

  • Reverse the material document before cancelling the excise invoice.

    Dear Experts,
    While cancelling the exice invoice thru J1iex , system is giving me an error message "Reverse the material document before cancelling the excise invoice" .......I checked PO history where all the material documents are already cancelled with MIGO cancellation (movement 106 )
    But in J1iex , if I select the cancel option and put this invoice number , it is showing me one document with status "IN PROCESS" and if I select that doc and try to save it. System prompted me the message "Reverse the material document before cancelling the excise invoice ,but if I am trying to post this document system is issuing me a message "All Part I entries have been canceled for excise invoice ...........xx.Exicse table J_1IGRXREF and J_1IPART1 alrady update with both documents.kindly any one suggest me positive.
    MINI

    Hello
    follow the below steps
    1. MIGO:Cancel the material document (movement type 102) & during cancellation update part1 only. This changes the excise invoice document status to In process
    2. J1IEX:Post the excise invoice referring the material document (of movement type 102). Creates an accounting document to reverse the CENVAT postings. Creates a corresponding entry in Part II of the appropriate excise register
    Thus the excise postings are reversed.
    3.J1IEX: Cancel the excise invoice (Do this if your plant does not allow multiple goods receipts per excise invoice).Now the system will allow you to cancel the vendor excise invoice
    above the procedure right. you will get this updation excise registers also
    Laxman

  • Delivery got canceled without reversing the invoice

    Dear All,
    I came across very strange scenario in one of our client.
    In the export process below are the steps involved.
    Sales order u2013 delivery (no PGI) u2013 pro forma invoice (wrt delivery) u2013 PGI u2013 Export invoice (wrt Delivery)
    Some end user has canceled the pro forma invoice and then reversed the PGI and canceled the delivery, without cancelling the Export invoice, and then created new delivery u2013 pro forma invoice u2013 export invoice.
    So, the question is how system has allowed reversing the goods issue and canceling the delivery without cancelling the export invoice.
    Now, in system it is showing delivery as archived and pro forma invoice as cancelled, but still showing Export invoice.
    System is also not allowing canceling the export invoice, as when we tried to cancel the same it throws an error that the delivery (which has been archived) does not exist.
    Kindly note that the item category has been configured as delivery related billing.
    Can this be possible because of any user exit? or any other reason? and what can be done?
    Thanks,
    Ritesh

    hi,
    THis is possible if the enduser with the help of Abaper or if he has the knowledge and authorization to use ABap tables, he can edit the table and delete the relevant data as required.
    This cannot be traced even by abapers.
    Thanks and regards,
    Sudhir

  • How to disappear the combobox

    I try the following code and i got some trouble.
    if I select the value in combobox (different value), the combobox will disappear.
    But when I select the default value, the combobox will not disappear.
    So, how can I disappear the combobox when user select the default value
    import java.awt.*;
    import java.awt.event.*;
    import java.util.*;
    import javax.swing.*;
    import javax.swing.table.*;
    public class TableComboBoxByRow extends JFrame
         ArrayList editors = new ArrayList(3);
         public TableComboBoxByRow()
              // Create the editors to be used for each row
              String[] items1 = { "Red", "Blue", "Green" };
              JComboBox comboBox1 = new JComboBox( items1 );
              DefaultCellEditor dce1 = new DefaultCellEditor( comboBox1 );
              editors.add( dce1 );
              String[] items2 = { "Circle", "Square", "Triangle" };
              JComboBox comboBox2 = new JComboBox( items2 );
              DefaultCellEditor dce2 = new DefaultCellEditor( comboBox2 );
              editors.add( dce2 );
              String[] items3 = { "Apple", "Orange", "Banana" };
              JComboBox comboBox3 = new JComboBox( items3 );
              DefaultCellEditor dce3 = new DefaultCellEditor( comboBox3 );
              editors.add( dce3 );
              //  Create the table with default data
              Object[][] data =
                   {"Color", "Red"},
                   {"Shape", "Square"},
                   {"Fruit", "Banana"},
                   {"Plain", "Text"}
              String[] columnNames = {"Type","Value"};
              DefaultTableModel model = new DefaultTableModel(data, columnNames);
              JTable table = new JTable(model)
                   //  Determine editor to be used by row
                   public TableCellEditor getCellEditor(int row, int column)
                        int modelColumn = convertColumnIndexToModel( column );
                        if (modelColumn == 1 && row < 3)
                             return (TableCellEditor)editors.get(row);
                        else
                             return super.getCellEditor(row, column);
              JScrollPane scrollPane = new JScrollPane( table );
              getContentPane().add( scrollPane );
         public static void main(String[] args)
              TableComboBoxByRow frame = new TableComboBoxByRow();
              frame.setDefaultCloseOperation( EXIT_ON_CLOSE );
              frame.pack();
              frame.setVisible(true);
    }

    The following modification seems to work...
              final JTable table = new JTable(model)
              getContentPane().add( scrollPane );
              PopupMenuListener stopEditing = new PopupMenuListener() {
                   public void popupMenuWillBecomeVisible( PopupMenuEvent e ) {}
                   public void popupMenuWillBecomeInvisible( PopupMenuEvent e ) {
                        TableCellEditor editor = table.getCellEditor();
                        if ( editor != null )
                             editor.stopCellEditing();
                   public void popupMenuCanceled( PopupMenuEvent e ) {}
              comboBox1.addPopupMenuListener( stopEditing );
              comboBox2.addPopupMenuListener( stopEditing );
              comboBox3.addPopupMenuListener( stopEditing );          
         }

  • How to display the values stored in the database in the combobox on load?

    I am develping one application where in
    I wanted to display the values in the combobox which I am taking from the database and in the same form passing that value in same form after selecting it,My program is running fine for the first time but next time it is giving me NullPointerException.
    So can anyone tell me please how I should develop the this application to avoid this exception?
    Thank You
    Praddy

    Thanx a lot for showing interest in answering my query.I am pasting my code for ur reference.Please try to reply ASAP.
    Thank You,
    Praddy.
    CODE:
    ======
    <html>
    <head>
         <script language="javascript">
              function submitthisform(thisForm)
                   thisForm.submit();                    
         </script>
    </head>
    <body>
    <form method=post name=samepgm>
    Select City:     <select name=city onChange='submitthisform(samepgm)'><br><br><br>
    <option value=''></option>
    <option value='All'>All</option>
    <%@ page language="java" import="java.sql.*" %>
    <%
              String scity = request.getParameter("city");
              System.out.println(scity);
              Connection con = null;
              Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
              con = DriverManager.getConnection("jdbc:odbc:property","","");
              Statement st = con.createStatement();          
              ResultSet rs1 = st.executeQuery("select distinct hcity from housefinance");
              while(rs1.next())
                   //String ohname = rs1.getString("hname");     
                   String     ocity = rs1.getString("hcity");     
                   //out.println(ohname +"<br>");
                   out.println(ocity +"<br>");
    %>
    <br><br><br><option value='<%=ocity%>'><%=ocity%></option><br>
    <%               }
                   rs1.close();
              if(scity.equals("All"))
              ResultSet rs2 = st.executeQuery("select * from housefinance");      
              while(rs2.next())
                   String     ohname = rs2.getString("hname");     
                   String     ohadd1 = rs2.getString("hadd1");
                   //String ohadd2 = rs2.getString("hadd2");
                   String     ohcity = rs2.getString("hcity");
                   String     ohpcode = rs2.getString("hpcode");
                   String     ohtelno = rs2.getString("htelno");
                   String     ohfaxno = rs2.getString("hfaxno");
                   String     ohemail = rs2.getString("hemail");
                   String     ohmobile = rs2.getString("hmobile");     
    %>
    <pre>
    <tr>
    <td><p>Company          :     <%=ohname%> </p></td>
    <td><p>Address          :     <%=ohadd1%></p></td>
    <td><p>City          :     <%=ohcity%> </p></td>
    <td><p>Pin          :     <%=ohpcode%></p></td>
    <td><p>Telphone          :     <%=ohtelno%></p></td>
    <td><p>Fax No:          :     <%=ohfaxno%></p></td>
    <td><p>Email          :     <%=ohemail%></p></td>
    <td><p>Mobile No.     :     <%=ohmobile%></p></td>
    </tr>
    </pre>
    <%
              else
    ResultSet rs = st.executeQuery("select * from housefinance where hcity like '%"+scity+"%'");
              while(rs.next())
                   String     ohname = rs.getString("hname");     
                   String     ohadd1 = rs.getString("hadd1");
                   //String ohadd2 = rs.getString("hadd2");
                   String     ohcity = rs.getString("hcity");
                   String     ohpcode = rs.getString("hpcode");
                   String     ohtelno = rs.getString("htelno");
                   String     ohfaxno = rs.getString("hfaxno");
                   String     ohemail = rs.getString("hemail");
                   String     ohmobile = rs.getString("hmobile");     
    %>
    <tr>
    <td><p>Company          :     <%=ohname%> </p></td>
    <td><p>Address          :     <%=ohadd1%></p></td>
    <td><p>City          :     <%=ohcity%> </p></td>
    <td><p>Pin          :     <%=ohpcode%></p></td>
    <td><p>Telphone          :     <%=ohtelno%></p></td>
    <td><p>Fax No:          :     <%=ohfaxno%></p></td>
    <td><p>Email          :     <%=ohemail%></p></td>
    <td><p>Mobile No.     :     <%=ohmobile%></p></td>
    </tr>
    <hr>
    <%               }
    %>
    </select>
    </form>
    </body>
    </html>

  • I did not authorize 2 in app purchases and because my credit card is at its limit, and i dont know how to reverse the in app purchases, i cannot update any app or do just about anything in the appstore or itunes store. I paid for apps, i demand my updates

    I did not authorize 2 in app purchases and because my credit card is at its limit, and i dont know how to reverse the in app purchases, i cannot update any app or do just about anything in the appstore or itunes store. I dont care if i owe apple's itunes appstore a few dollars over 2 in app purchases i never meant to download in fact the whole app itself i wanted to delete...but out of the hundreds (maybe lower thousands) fof dollars in music and apps and whatever else, that i rightfully purchased over the passed couple of years....should *NOT* have the upgrades and/or previous purchased songs withheld from me over $3 in accidently purchased add ons through an existing app i deleted an disliked anyway

    Same thing happened to me with my peruvian credit card in the peruvian app store, I want to buy an app, but it says that my credit card is "not supported in the Peruvian app store"

  • I bought about 4 books at once on amazon for my iPad kindle and then realise that I'm not getting round to reading any of them.  I've gone into two books but two I haven't.  Is there a way of reversing the order and getting my money back?

    Hi I bought too many books at once through amazon for my iPad kindle.  Havent read any of them and Two I haven't actually gone in to, they have a banner across front which says 'new'is there a way of reversing the transaction either with amazon kindle or the iPad kindle application so I cane my money back?

    You should ask Amazon about their returns policy or check the Amazon website. As that's who you bought them from they would be the best people to answer.

  • Can I reverse the order of finder lists or icons?

    Hello,
    I am finding some problems with Lion that I never seemed to have with Snow Leopard and would very much appreciate someone's help.
    To cut a long story short I want to reverse the order of the files in finder, either in list or icon view (or maybe any kind of view). At the moment they are in date created order, but I have also tried in name order and cannot see any way to reverse the order.
    At present the are show the newest file first but I want to see them in oldest first as they always were for me in OSX 10.6
    Also... in date created view they appear in groups (eg previous 7 days, previous 30 days) I have never seen this before and find it particulalry annoying. I'm sure some people love it but for me it is one of the things that I most hated about windows, but at least in Windows I found it easy to turn off (along with reversing order!). Can anyone tell me how to stop OSX from doing this?
    Much obliged,
    Pablo

    Welcome to Apple Support Communities. We're users here and don't speak for "Apple, Inc."
    In Finder icon view, click the Arrange button and select which column you'd like to sort by.
    In Finder list view, click the top header of any column to sort by that column. Clicking the same header again reverses the sort order (and the small 'arrow' at the end of the column name reverses direction too).
    And using Finder, View, Customize Toolbar the Finder window toolbar can be customized to display icons only, text only or both, as well as adding additional icons to the default toolbar:
    Message was edited by: kostby

  • How do I reverse the order of file lists in finder?

    When I display a finder page with icons the sort is ascending (A-Z), but when I use the list function it is decending (Z-A).  How do I reverse the list order?

    Welcome to Apple Support Communities. We're users here and don't speak for "Apple, Inc."
    In Finder icon view, click the Arrange button and select which column you'd like to sort by.
    In Finder list view, click the top header of any column to sort by that column. Clicking the same header again reverses the sort order (and the small 'arrow' at the end of the column name reverses direction too).
    And using Finder, View, Customize Toolbar the Finder window toolbar can be customized to display icons only, text only or both, as well as adding additional icons to the default toolbar:
    Message was edited by: kostby

  • How can i make that in the ComboBox control it will show only part of each item name without the Win32_ in the start of each item ?

    This is my form1 code:
    using System;
    using System.Collections;
    using System.Management;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Text;
    using System.Windows.Forms;
    namespace GetHardwareInfo
    public partial class frmMain : Form
    public frmMain()
    InitializeComponent();
    cmbxOption.SelectedItem = "Win32_Processor";
    cmbxStorage.SelectedItem = "Win32_DiskDrive";
    cmbxMemory.SelectedItem = "Win32_CacheMemory";
    cmbxSystemInfo.SelectedItem = "";
    cmbxNetwork.SelectedItem = "Win32_NetworkAdapter";
    cmbxUserAccount.SelectedItem = "Win32_SystemUsers";
    cmbxDeveloper.SelectedItem = "Win32_COMApplication";
    cmbxUtility.SelectedItem = "Win32_1394Controller";
    private void InsertInfo(string Key, ref ListView lst, bool DontInsertNull)
    lst.Items.Clear();
    ManagementObjectSearcher searcher = new ManagementObjectSearcher("select * from " + Key);
    try
    foreach (ManagementObject share in searcher.Get())
    ListViewGroup grp;
    try
    grp = lst.Groups.Add(share["Name"].ToString(), share["Name"].ToString());
    catch
    grp = lst.Groups.Add(share.ToString(), share.ToString());
    if (share.Properties.Count <= 0)
    MessageBox.Show("No Information Available", "No Info", MessageBoxButtons.OK, MessageBoxIcon.Information);
    return;
    foreach (PropertyData PC in share.Properties)
    ListViewItem item = new ListViewItem(grp);
    if (lst.Items.Count % 2 != 0)
    item.BackColor = Color.White;
    else
    item.BackColor = Color.WhiteSmoke;
    item.Text = PC.Name;
    if (PC.Value != null && PC.Value.ToString() != "")
    switch (PC.Value.GetType().ToString())
    case "System.String[]":
    string[] str = (string[])PC.Value;
    string str2 = "";
    foreach (string st in str)
    str2 += st + " ";
    item.SubItems.Add(str2);
    break;
    case "System.UInt16[]":
    ushort[] shortData = (ushort[])PC.Value;
    string tstr2 = "";
    foreach (ushort st in shortData)
    tstr2 += st.ToString() + " ";
    item.SubItems.Add(tstr2);
    break;
    default:
    item.SubItems.Add(PC.Value.ToString());
    break;
    else
    if (!DontInsertNull)
    item.SubItems.Add("No Information available");
    else
    continue;
    lst.Items.Add(item);
    catch (Exception exp)
    MessageBox.Show("can't get data because of the followeing error \n" + exp.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Information);
    private void RemoveNullValue(ref ListView lst)
    foreach (ListViewItem item in lst.Items)
    if (item.SubItems[1].Text == "No Information available")
    item.Remove();
    #region Control events ...
    private void cmbxNetwork_SelectedIndexChanged(object sender, EventArgs e)
    InsertInfo(cmbxNetwork.SelectedItem.ToString(), ref lstNetwork, chkNetwork.Checked);
    private void cmbxSystemInfo_SelectedIndexChanged(object sender, EventArgs e)
    InsertInfo(cmbxSystemInfo.SelectedItem.ToString(), ref lstSystemInfo, chkSystemInfo.Checked);
    private void cmbxUtility_SelectedIndexChanged(object sender, EventArgs e)
    InsertInfo(cmbxUtility.SelectedItem.ToString(), ref lstUtility, chkUtility.Checked);
    private void cmbxUserAccount_SelectedIndexChanged(object sender, EventArgs e)
    InsertInfo(cmbxUserAccount.SelectedItem.ToString(), ref lstUserAccount, chkUserAccount.Checked);
    private void cmbxStorage_SelectedIndexChanged(object sender, EventArgs e)
    InsertInfo(cmbxStorage.SelectedItem.ToString(), ref lstStorage, chkDataStorage.Checked);
    private void cmbxDeveloper_SelectedIndexChanged(object sender, EventArgs e)
    InsertInfo(cmbxDeveloper.SelectedItem.ToString(), ref lstDeveloper, chkDeveloper.Checked);
    private void cmbxMemory_SelectedIndexChanged(object sender, EventArgs e)
    InsertInfo(cmbxMemory.SelectedItem.ToString(), ref lstMemory, chkMemory.Checked);
    private void chkHardware_CheckedChanged(object sender, EventArgs e)
    if (chkHardware.Checked)
    RemoveNullValue(ref lstDisplayHardware);
    else
    InsertInfo(cmbxOption.SelectedItem.ToString(), ref lstDisplayHardware, chkHardware.Checked);
    private void cmbxOption_SelectedIndexChanged(object sender, EventArgs e)
    InsertInfo(cmbxOption.SelectedItem.ToString(), ref lstDisplayHardware, chkHardware.Checked);
    private void chkDataStorage_CheckedChanged(object sender, EventArgs e)
    if (chkDataStorage.Checked)
    RemoveNullValue(ref lstStorage);
    else
    InsertInfo(cmbxStorage.SelectedItem.ToString(), ref lstStorage, chkDataStorage.Checked);
    private void chkMemory_CheckedChanged(object sender, EventArgs e)
    if (chkMemory.Checked)
    RemoveNullValue(ref lstMemory);
    else
    InsertInfo(cmbxMemory.SelectedItem.ToString(), ref lstStorage, false);
    private void chkSystemInfo_CheckedChanged(object sender, EventArgs e)
    if (chkSystemInfo.Checked)
    RemoveNullValue(ref lstSystemInfo);
    else
    InsertInfo(cmbxSystemInfo.SelectedItem.ToString(), ref lstSystemInfo, false);
    private void chkNetwork_CheckedChanged(object sender, EventArgs e)
    if (chkNetwork.Checked)
    RemoveNullValue(ref lstNetwork);
    else
    InsertInfo(cmbxNetwork.SelectedItem.ToString(), ref lstNetwork, false);
    private void chkUserAccount_CheckedChanged(object sender, EventArgs e)
    if (chkUserAccount.Checked)
    RemoveNullValue(ref lstUserAccount);
    else
    InsertInfo(cmbxUserAccount.SelectedItem.ToString(), ref lstUserAccount, false);
    private void chkDeveloper_CheckedChanged(object sender, EventArgs e)
    if (chkDeveloper.Checked)
    RemoveNullValue(ref lstDeveloper);
    else
    InsertInfo(cmbxDeveloper.SelectedItem.ToString(), ref lstDeveloper, false);
    private void chkUtility_CheckedChanged(object sender, EventArgs e)
    if (chkUtility.Checked)
    RemoveNullValue(ref lstUtility);
    else
    InsertInfo(cmbxUtility.SelectedItem.ToString(), ref lstUtility, false);
    private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
    linkLabel1.LinkVisited = true;
    System.Diagnostics.Process.Start("http://www.test.net");
    #endregion
    What i get is in the end that in the ComboBox in this case i call it cmbxNetwork i see in it many items all start with Win32_ For example when i click on ComboBox i see the first item is: "Win32_NetworkAdapter"
    Instead Win32_NetworkAdapter i want to see in the ComboBox only: NetworkAdapter But when i select the item it should be selected as Win32_NetworkAdapter but the user should see and select only NetworkAdapter.
    I want to remove as test from the ComboBox items the Win32_ But only that the user will see it without Win32_
    Also in the constructor when i'm doing now: cmbxNetwork.SelectedItem = "Win32_NetworkAdapter"; so instead if i'm doing: cmbxNetwork.SelectedItem = "NetworkAdapter"; it will be enough. THe program will use the "Win32_NetworkAdapter";
    but again what i see and user in the ComboBox as item is only the NetworkAdapter

    Hi Chocolade1972,
    >> I want to remove as test from the ComboBox items the Win32_ But only that the user will see it without Win32_  Also in the constructor when i'm doing now: cmbxNetwork.SelectedItem = "Win32_NetworkAdapter"; so instead if i'm doing:
    cmbxNetwork.SelectedItem = "NetworkAdapter";
    Do you mean that you want the ComboBox show the value of “NetworkAdapter” in the text, but when you refer the value of the cmbxNetwork.SelectedItem, it will be “Win32_NetworkAdapter”? If so, I am afraid that you need create your own ComboboxItem and override
    the ToString() method to return the text you want.
    You could modify the code below for your own achievement.
    public partial class Form0417 : Form
    public Form0417()
    InitializeComponent();
    public class ComboboxItem
    public string Text { get; set; }
    public object Value { get; set; }
    public override string ToString()
    return Text;
    private void Form0417_Load(object sender, EventArgs e)
    ComboboxItem item1 = new ComboboxItem();
    item1.Text = "Processor";
    item1.Value = "Win32_Processor";
    ComboboxItem item2 = new ComboboxItem();
    item2.Text = "DiskDrive";
    item2.Value = "Win32_DiskDrive";
    cmbxOption.Items.Add(item1);
    cmbxOption.Items.Add(item2);
    //MessageBox.Show((cmbxOption.SelectedItem as ComboboxItem).Value.ToString());
    private void cmbxOption_SelectedIndexChanged(object sender, EventArgs e)
    MessageBox.Show((cmbxOption.SelectedItem as ComboboxItem).Value.ToString());
    Best Regards,
    Edward
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Cancel or reverse the process ordrer confirmation posted in a closed period

    Hi SAP experts,
                              It would be very nice of you if you could solve this issue for me.
                              The issue is -
                               There is a process order created and released for a material on 01.07.2010.Partial confirmation for the order was done on 15.07.2010 but the posting date was entered as 14.06.2010.So the stock for the material got posted on 14.06.2010 which was supposed to be posted on 14.07.2010. Now, if we try to cancel the order confirmation in the current month through CORS , system is giving errors because the posting period is closed .
                               Is there any way to reverse the postings without opening the posting period?
                               How we can open the field for the posting date in the transaction CORS where we can assign new posting date for the cancellation of the order confirmation. Is it possible to enter this new posting date as 01.07.2010 now because the posting period for July is currently open?
    Best regards,
    RAB

    The reason for reversal is that - the goods receipt on the date 14.06.2010 should tally with the goods receipt for the process order created for the month of June 2010 on that particular date as per the daily production report developed for client. In this case, only one process order is created for a material for each month and that is confirmed daily as per the daily production and then confirmed and settled finallly at the end of the month.
    Now the requirement is that the excess goods receipt posted in June 2010 for the process order created for July 2010 should be reversed so that the goods receipts for the June's process order on that particular date for that material match properly.
              Actually , to compensate for this wrong posting done  by the user on 14.06.2010, another confirmation for the same order of July 2010 was done for that material with same qty. with correct posting date(14.07.2010) so that the goods receipts for July 2010 for the material for that process order are proper.
             I am sure you must have clearly understood the issue. Is it possible to cancel the the order confirmation done with posting date 14.06.2010 by giving new posting date as 01.07.2010? Whether this will display proper stock for the material in June as well as July? Kindly confirm.
    Best regards,
    RAB
    Best regards,

Maybe you are looking for

  • HP scanjet 4400c - lack of windows 7 64 bit drivers

    No windows 7 driver is available yet.  Hope HP produce one soon for this very useful scanner!   Are there any other choices apart from a new scanner.

  • Pdf email attachment for human task detail notification

    We have a human task detail notification with pdf attachment. The email notification (generated automatically) flat out all content but no pdf attachment. Is this supported and if yes how to make it work?

  • Why does illustrator create white boxes from shadows when imported into indesign

    When a logo created in illustrator cs4 has either shadows applied or gaussian blurs applied on letter shapes and is then put into a frame/picture box in indesign with a coloured background, it brings in white boxes. It does not happen in illustrator

  • Problem with Sales Order update(VA02)

    Hi, I have created a sales order. I am changing the same order. I am adding few more items to this order and saving it. When I am saving this order, it says that the order has been saved. and when I am trying to view the same order again using VA02,

  • Changing time zones in PHP script

    Hi, I have the following code that shows the time that the form data was sent via the Submit button on a form. if (isset($form['gmt_offset']) && ereg('^(\\-|\\+)?([0-9]{1}|(1{1}[0-2]{1}))$', $form['gmt_offset'])) $mkseconds = mktime(gmdate('H') + $fo