VS 2015 Combobox values changes when another combobox value is selected-VBForums
Results 1 to 4 of 4

Thread: Combobox values changes when another combobox value is selected

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 2016
    Posts
    11

    Combobox values changes when another combobox value is selected

    Hi Everyone,

    I have a simple form with 4 combobox's

    Name.......

    Reason for lateness...........

    Managers Name.............

    Managers Email..............

    Date and time picker.............
    .

    The managers name is linked to the Managers Email

    So when the managers name is picked it populates the Managers email field.

    But when I select the managers name, the Name and Reason for lateness combobox's reset to first entry in the list.

    The datasource is the same for all combobox's just different tables for each box.

    I am using SQL for the data.

    I am guessing it is something to do with the data source but not sure.

    Any help is appreciated.

  2. #2
    Still learning kebo's Avatar
    Join Date
    Apr 2004
    Location
    Gardnerville,nv
    Posts
    3,616

    Re: Combobox values changes when another combobox value is selected

    The datasource is the same for all combobox's just different tables for each box.
    Not sure that makes sense. If the data source is the same, then it is not different table.

    Anyway, for each combo box, copy the data table and using the new table as the data source.
    Process control doesn't give you good quality, it gives you consistent quality.
    Good quality comes from consistently doing the right things.

    Vague general questions have vague general answers.
    A $100 donation is required for me to help you if you PM me asking for help. Instructions for donating to one of our local charities will be provided.

    ______________________________
    Last edited by kebo : Now. Reason: superfluous typo's

  3. #3
    PowerPoster
    Join Date
    Sep 2005
    Location
    Modesto, Ca.
    Posts
    3,416

    Re: Combobox values changes when another combobox value is selected

    This was just discussed a few days ago here http://www.vbforums.com/showthread.p...combobox-entry

  4. #4
    Hyperactive Member
    Join Date
    Aug 2016
    Posts
    269

    Re: Combobox values changes when another combobox value is selected

    Quote Originally Posted by coyney22 View Post
    Hi Everyone
    Can you post the code? I think I have encounter it this past few days.

Tags for this Thread

Posting Permissions

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



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.