Results 1 to 9 of 9

Thread: 2 fields in DBCombo

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2005
    Posts
    6

    2 fields in DBCombo

    Hi

    I need to make DBComboBox which after click on arrow show me 3 fields got from table, but save only one, first for example You know about what i'm talking. Normal DBComboBox shows 1 field and save it, i want that it shows 3 and save only one

    thx

  2. #2
    Software Carpenter dee-u's Avatar
    Join Date
    Feb 2005
    Location
    Pinas
    Posts
    11,127

    Re: 2 fields in DBCombo

    I believe it can only contain one field.
    Regards,


    As a gesture of gratitude please consider rating helpful posts. c",)

    Some stuffs: Mouse Hotkey | Compress file using SQL Server! | WPF - Rounded Combobox | WPF - Notify Icon and Balloon | NetVerser - a WPF chatting system

  3. #3

    Thread Starter
    New Member
    Join Date
    Jun 2005
    Posts
    6

    Re: 2 fields in DBCombo

    really?? so maybe you can tell me how refresh other textbox after change dbcombo. For example i want: if dmcombo1="dog" then text1.text="boune" end if
    and when i'm changing dbcombo, text1 don't change:/

    Thx

  4. #4
    Addicted Member BestS's Avatar
    Join Date
    Mar 2005
    Posts
    222

    Re: 2 fields in DBCombo

    I needed such control too....and I actually found one
    It is called, ComboBoxLX
    I have the ActiveX Control, it is really good and you can have many line ...


    How can I attach it ???

  5. #5

    Thread Starter
    New Member
    Join Date
    Jun 2005
    Posts
    6

    Re: 2 fields in DBCombo

    where i can find this ComboBoxLX?? this can show many fields or refresh another controls??

    thx

  6. #6
    Software Carpenter dee-u's Avatar
    Join Date
    Feb 2005
    Location
    Pinas
    Posts
    11,127

    Re: 2 fields in DBCombo

    Quote Originally Posted by BestS
    How can I attach it ???
    Its in the Manage Attachments, just below the reply textarea..
    Regards,


    As a gesture of gratitude please consider rating helpful posts. c",)

    Some stuffs: Mouse Hotkey | Compress file using SQL Server! | WPF - Rounded Combobox | WPF - Notify Icon and Balloon | NetVerser - a WPF chatting system

  7. #7
    Addicted Member BestS's Avatar
    Join Date
    Mar 2005
    Posts
    222

    Re: 2 fields in DBCombo

    Here it is it shows many fields, about the REFRESH it is no problem
    You will do it in your CODE
    take a look at the CONTROL first...
    Attached Files Attached Files

  8. #8
    New Member
    Join Date
    Dec 2008
    Posts
    1

    Re: 2 fields in DBCombo

    Is the attachment, comboboxwitexamples.zip your work? You see, the example of combobox1 is exactly what I need for a current project. However, I am unable to find out where the data in the combobox1 comes from. My current project requires taking mutiple fields from one database and putting that information into another database, where it is then used to do some math calculations.

    Can you help me with this issue and show me where the data in the combo box1 is generated from?


    Thanks

  9. #9
    Software Carpenter dee-u's Avatar
    Join Date
    Feb 2005
    Location
    Pinas
    Posts
    11,127

    Re: 2 fields in DBCombo

    Quote Originally Posted by pnorsworthy
    Is the attachment, comboboxwitexamples.zip your work?
    Welcome to the forums!

    Haven't you tried it yourself if it works? You are free to download it and test it.
    Regards,


    As a gesture of gratitude please consider rating helpful posts. c",)

    Some stuffs: Mouse Hotkey | Compress file using SQL Server! | WPF - Rounded Combobox | WPF - Notify Icon and Balloon | NetVerser - a WPF chatting system

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