Results 1 to 3 of 3
  1. #1
    SSUTTON is offline Novice
    Windows 8 Access 2007
    Join Date
    Mar 2015
    Posts
    24

    Control Source


    Hi Everyone:

    When Setting up a Combo/ListBox especially a multicolumn what should you use as the Control Source? The Primary Key or one of the visible column headings? Thank you.

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,550
    Whatever data field you want to capture, should be in the query (control source)
    You DONT have to see the keys if you dont want, using colunmnwidth = 0, but it does have to be in the query.

    The combo should
    set COLUMNS
    set COLUMNWIDTHS

  3. #3
    SSUTTON is offline Novice
    Windows 8 Access 2007
    Join Date
    Mar 2015
    Posts
    24
    I just want to make sure I understand you.

    I have 4 fields that I want to appear in the combo/listbox - ChildsFirstname, ChildsLastName, ChildsDateofBirth,ChildsMCP. These are the Visible Columns that I want to have as column Headings. Can the Control source be another column from the original table that will not appear. I don't want something popping up on the screen that won't make sense to the user. Right now ID comes up and a number appears. I don't want this because it won't make sense to the user. Thank you.

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

Similar Threads

  1. What is control source????
    By ConnorLally in forum Modules
    Replies: 1
    Last Post: 10-30-2014, 05:55 AM
  2. Replies: 3
    Last Post: 05-03-2014, 03:26 AM
  3. Replies: 5
    Last Post: 09-18-2013, 09:15 PM
  4. Replies: 5
    Last Post: 10-13-2011, 03:36 PM
  5. control source
    By nashr1928 in forum Forms
    Replies: 5
    Last Post: 03-12-2011, 09:31 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