Results 1 to 8 of 8
  1. #1
    Lou_Reed is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2015
    Posts
    1,664

    Changing textboxes to combo boxes in MS Access 2010

    I am looking to change some textboxes to combboxes in MS Access 2010.

    My internet search has not given any useful results (yes, Google failed me!).



    So in MS Access 2010: how do I do it?

    Any help appreciated. Thanks in advance.

    Respectfully,


    Lou Reed

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,919
    Options:

    1. delete textbox, create combobox

    2. right click on textbox > Change To > Combobox - you will have to set combobox properties
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    Lou_Reed is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2015
    Posts
    1,664
    I know that and that is what I am concerned about. The combo box has a list of values that the analysts selects from.
    He should not put in any values, just select from a list. So how is that put in?

    I hope that I am not confusing combo box with list box.

    Thanks in advance.

    Respectfully,


    Lou Reed

  4. #4
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,919
    Combobox and Listbox both have RowSource, RowSourceType, ColumnCount, ColumnWidths, BoundColumn, ControlSource properties. These properties define the 'list'. It can be based on a query or a set of typed in values.

    Basic Access functionality. Should have already encountered a tutorial on building combobox. Listbox is built same way.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  5. #5
    Lou_Reed is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2015
    Posts
    1,664
    Is changing combo box's (that was previously a text box) properties the same as building a combo box?

    Thanks in advance.

    Respectfully,


    Lou Reed

  6. #6
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,919
    Yes. The 'Change To' feature is really minimally helpful. It allows retention of ControlSource and some other property settings, such as FontName. But properties not pertinent to textbox will have to be set.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  7. #7
    Lou_Reed is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2015
    Posts
    1,664
    How do I hide a primary key when making a form. The primary key is usually a single digit number and it travels with something like employee number and employee first name and last name. These last three things are what I want to see. In fact I am not sure of the need for an EmployeeID; shouldn't the Employee # (which is 5 digit) be sufficient? It seems this is superfluous. Also. in the combo box I want to see the employee number that helps me connect to that employee. What is EmployeeID needed for?

    I think that again there might be an error in the tutorial. There is no need for an EmployeeID; if you have an employee number. The EmployeeID is the primary key though.


    Any help appreciated. Thanks in advance.


    Respectfully,


    Lou Reed

  8. #8
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,919
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Changing text boxes to combo boxes
    By Lou_Reed in forum Access
    Replies: 8
    Last Post: 09-15-2015, 11:09 AM
  2. Replies: 8
    Last Post: 05-16-2014, 12:12 PM
  3. Replies: 20
    Last Post: 10-25-2013, 06:16 AM
  4. Problem Creating Excel Chart TextBoxes in Access 2010
    By JonMulder in forum Programming
    Replies: 5
    Last Post: 03-24-2013, 08:16 PM
  5. Replies: 0
    Last Post: 06-29-2011, 01:04 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