Results 1 to 8 of 8
  1. #1
    Beanie_d83 is offline Advanced Beginner
    Windows 8 Access 2013 64bit
    Join Date
    May 2016
    Posts
    73

    Combo Box Control Source

    Hi there,



    a simple question for all you experienced Access users but why won't a combo box on a form populate a field in a table? Am I right in thinking it has something to with its control source?

    I want it to look up from a field list in one table (Row Source tbl_dealer) and then place it in a field named Customer in tbl_BuildSheet.

    Can anyone help a novice out of his depth?

  2. #2
    ranman256's Avatar
    ranman256 is online now VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,525
    control source is the table field the combo fills
    row source is all the choices that fill the combo list.

  3. #3
    Beanie_d83 is offline Advanced Beginner
    Windows 8 Access 2013 64bit
    Join Date
    May 2016
    Posts
    73
    This is what I thought but had my doubts when I tried to select the combo box control source, the table and or table field I need it to populate does not show in the drop down list.

  4. #4
    Beanie_d83 is offline Advanced Beginner
    Windows 8 Access 2013 64bit
    Join Date
    May 2016
    Posts
    73

    Angry

    I have the combo box listing the field data I want but the control source I just can't figure out.

    What do i need to do to get the CB to put the selected record field into another table field as all I can get is a warning in the bottom left that reads control can't be edited, it's bound to expression [tbl_BuildSheet]![Dealer] which is where I want it to go!!

  5. #5
    Beanie_d83 is offline Advanced Beginner
    Windows 8 Access 2013 64bit
    Join Date
    May 2016
    Posts
    73
    Ok so perhaps it wasn't a simple question after all

  6. #6
    orange's Avatar
    orange is online now Moderator
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,726
    I suggest you tell us in simple terms, what you are trying to do. No jargon-just plain English.
    If you can describe an example that may help also.

  7. #7
    John_G is offline VIP
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2011
    Location
    Ottawa, ON (area)
    Posts
    2,615
    ...then place it in a field named Customer in tbl_BuildSheet.
    If tbl_Buildsheet is not the recordsource for the form, then you cannot do this directly - you would have to use VBA to add/update a record.

    If tbl_Buildsheet is the recordsource, then the field you want to update (Customer or Dealer? You have used both) should be shown in the dropdown list of fields in the Control Source property of the combo box.

    What type of field are you wanting to populate in tbl_Buildsheet? If it is anything other than a simple text or numeric, then that may be causing your problem. In particular, if it is a lookup field, then I'd be almost sure it's that.

  8. #8
    Beanie_d83 is offline Advanced Beginner
    Windows 8 Access 2013 64bit
    Join Date
    May 2016
    Posts
    73
    If record source is the same as row source then no, I am wanting the combo box to get the values from a field in tbl_dealer and place it into tbl_BuildSheet.

    I've checked the data type for the field I want to populate and it is the (short) text type and I have made sure not to use lookups on a table level.
    Last edited by Beanie_d83; 06-27-2016 at 04:21 AM. Reason: Lookup

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 3
    Last Post: 04-27-2016, 01:25 PM
  2. Replies: 4
    Last Post: 02-18-2016, 12:06 PM
  3. Replies: 6
    Last Post: 05-09-2015, 11:28 AM
  4. Replies: 5
    Last Post: 09-18-2013, 09:15 PM
  5. Replies: 1
    Last Post: 03-30-2013, 12:41 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums