Results 1 to 4 of 4
  1. #1
    Odick is offline Novice
    Windows 10 Access 2016
    Join Date
    May 2019
    Posts
    1

    How do I add multiple selections from the same field for a record


    I am a beginner creating a database to monitor projects. If I have a fields for Employee Last and Employee First name how can I add more than one employee to a project (record)?

  2. #2
    davegri's Avatar
    davegri is offline Excess Access
    Windows 10 Access 2016
    Join Date
    May 2012
    Location
    Denver
    Posts
    3,741
    You need two tables. tblEmployees and tblProjects
    Basic Access functionality. Make a main form from the Projects table and a subform from the Employees table.
    Google form/subform for some video tutorials. Dozens of examples.

  3. #3
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,772
    Assuming an employee can be assigned to more than 1 project, this is a many-to-many relationship which requires 3 tables (unless you want to use multi-value field and I advise not to). This is still basic relational database functionality. Have you studied an introductory tutorial book?

    tblEmployees
    EmpID
    LastName
    FirstName
    etc

    tblProjects
    ProjectID
    ProjectName
    etc

    tblProjectEmployees
    EmpID_FK
    ProjectID_FK


    Options for data entry:

    1. single form bound to tblProjectEmployees with comboboxes to select project and employee

    2. main form bound to tblProjects and subform bound to tblProjectEmployees with combobox to select employee

    3. main form bound to tblEmployees and subform bound to tblProjectEmployees with combobox to select project
    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.

  4. #4
    orange's Avatar
    orange is offline Moderator
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,870
    Odick,

    Do some basic research on relational database concepts. Work through2 or 3 of the tutorials from rogersAccessLibrary
    mention in the articles in this link.
    Just as you wouldn't start building a house with a hammer and a 2X4 --Planning and design are critical to databases too.

    Good luck with your learning an database.

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

Similar Threads

  1. Multiple Selections per Record on Form
    By philipscodes in forum Forms
    Replies: 15
    Last Post: 01-26-2018, 01:25 AM
  2. Multiple Selections in a Combo Box
    By BeStout in forum Access
    Replies: 6
    Last Post: 07-09-2014, 12:44 PM
  3. Replies: 4
    Last Post: 08-25-2013, 07:43 AM
  4. Replies: 9
    Last Post: 05-23-2011, 06:12 PM
  5. Delete multiple selections
    By Evgeny in forum Programming
    Replies: 7
    Last Post: 07-20-2010, 01:14 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