Results 1 to 3 of 3

Thread: Problem with dataCombo

  1. #1

    Thread Starter
    Fanatic Member Psyrus's Avatar
    Join Date
    Jul 2000
    Location
    NJ
    Posts
    602
    I have a DataCombo control on my form. The DataSource is set to an ADO data control. The style is set to dbcDropDownList. Right now it has 4 values in it from 1 to 4. If I select one value, say the number 4 which is the last one in the list, it appears as it should. If I then move to another control, say a textbox, then go back to the DataCombo control and select the dropdown again the first value is no longer there. It's replaced by the previously selected value. The top item in the list is being replaced by the previously selected item. The previously selected item still holds it's position in the list, though. Is there a way to prevent this from happening? Should I be using .Refresh or .ReFill somewhere, like in the LostFocus?

    Thanks,


    Chris

    VB 6.0 Calendar App Video Gamers Group
    Don't forget to rate people if they helped you.

  2. #2

    Thread Starter
    Fanatic Member Psyrus's Avatar
    Join Date
    Jul 2000
    Location
    NJ
    Posts
    602
    Still haven't figured this one out yet. Anybody have any ideas?



    Chris

    VB 6.0 Calendar App Video Gamers Group
    Don't forget to rate people if they helped you.

  3. #3

    Thread Starter
    Fanatic Member Psyrus's Avatar
    Join Date
    Jul 2000
    Location
    NJ
    Posts
    602
    Fixed it...



    Chris

    VB 6.0 Calendar App Video Gamers Group
    Don't forget to rate people if they helped you.

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