Results 1 to 9 of 9

Thread: [RESOLVED]Value Member & Display member for combo box

Threaded View

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Mar 2007
    Posts
    166

    Resolved [RESOLVED]Value Member & Display member for combo box

    A query brings back case_ID and Case name

    I want to display case name in the combo box, but when it is selected the value that is passed through to my insert statement i want to be the Case_ID that relates to the case name selected.

    i tried this

    casename.ValueMember = "Case_ID"
    casename.DisplayMember = "Case_Name"

    but when message boxing the display member, it just shows the text. Anyone help?
    Last edited by HelpLaura; Apr 26th, 2007 at 07:52 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width