Results 1 to 6 of 6
  1. #1
    RobFlott is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    May 2015
    Posts
    22

    How to get a selection from combo box entered as a new record on a datatable

    I am new to MS Access and am trying to build a system where users open a Form and make selections from 5 different combo boxes. The entries that appear in each combo box come from separate fields on the 'List' table. I would like to set this Form so whatever the user selects from the combo box is automatically entered as a new record, into the similarly named field of the 'Data' table.

    Can this be done in Access?

    If so can anyone help me understand how to build this?



    I am using MS Access 2010 32-bit

    Thank you very much.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    Bind form to Data table, move to New Record row, select values of comboboxes, close form or move to another new record. Basic Access functionality.
    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
    RobFlott is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    May 2015
    Posts
    22
    Thank you for the quick response, but I cannot find where to select 'Bind' in the Form properties. Same for "move to New Record row". Are these code I need to write or are they options in the various tabs on the Properties sheet?

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    Bind form by setting RecordSource property.

    Move to new record with navigation bar at bottom of form.

    No code is necessary to use these intrinsic features but code can customize these behaviors.

    Sounds like you could benefit from an introductory book.
    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
    RobFlott is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    May 2015
    Posts
    22
    Thanks for your patience and sorry I didn't make myself clear. I simply want the end user to open a Form and make a few selections from the combo boxes which would automatically be recorded into the 'Data' table. And you are correct that I need an introductory book on Access, the one I have is not helping. I will look elsewhere.

    Thank you

  6. #6
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    If you don't want users to have to 'move' to new record row, set the DataEntry property to Yes and the form will open only to new record. However, users will not be able to navigate to existing records.
    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. Replies: 19
    Last Post: 04-27-2015, 06:57 AM
  2. Replies: 5
    Last Post: 07-19-2014, 09:55 PM
  3. Replies: 2
    Last Post: 03-08-2013, 02:07 PM
  4. Replies: 5
    Last Post: 03-11-2011, 11:28 AM
  5. Pop-up Combo Box Record Selection
    By AKQTS in forum Forms
    Replies: 1
    Last Post: 08-11-2010, 01:01 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