CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2000
    Posts
    16

    Combobox Click event and ADO

    I have 4 textboxes that are in a control array and a combobox. All these controls are filled with the first record from the access database when the
    program first loads. I can move from one record to another with the control
    but if the user drops down the combobox and selects and item, the textboxes
    will not move to that record and display. Does anybody know how to do this
    through code. (All my controls are bound to the database with code)


  2. #2
    Join Date
    Dec 1999
    Location
    Malaysia
    Posts
    56

    Re: Combobox Click event and ADO

    Hi there...
    Have you tried setting this,

    txtSomething(0).Enabled = false
    ...
    txtSomething(3).Enabled = false



    in your Combobox_click() method?
    Hope this helps...



    ____________________________________
    The VB Bugs in my Life...

  3. #3
    Join Date
    Jan 2000
    Posts
    16

    Re: Combobox Click event and ADO

    Hey thanks. I got it.



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

Featured