Results 1 to 4 of 4

Thread: combo problem

  1. #1

    Thread Starter
    Member
    Join Date
    Oct 2002
    Location
    \root
    Posts
    32

    combo problem

    When a user selects a name from the combo box, I want to select his record from the DB. How do I do this. I tried the funtion SelectedText but it does not give me the actual text when I put it in the MSGBOX. .... ?
    ** Praise none, but the CREATOR **
    ---------------------
    T-break SUX

  2. #2
    PowerPoster hellswraith's Avatar
    Join Date
    Jul 2002
    Location
    Washington St.
    Posts
    2,464
    Try using just the text property. If the user selects their name, it becomes the text in the combo box.

  3. #3

    Thread Starter
    Member
    Join Date
    Oct 2002
    Location
    \root
    Posts
    32
    amm .... not sure what that is ... I'm very naive at .NET ... Just did a project at Uni. and that's about it. So, not so well versed you see ... if you could explain a bit more in detail.
    Thanks for replying ....
    ** Praise none, but the CREATOR **
    ---------------------
    T-break SUX

  4. #4
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    as hellswraith said like this.. :

    VB Code:
    1. Myrecord ......= ComboBox1.Text

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