Results 1 to 2 of 2
  1. #1
    jerem is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Nov 2012
    Posts
    88

    Append query or not?

    Hi,


    I have 3 tables: Employees, Skills and EmployeeSkills.

    Each employee has a set of 40 skills that are either "not trained", "in training" or "acquired". I want to create a form with employee name and the 40 skills with either combo boxes or check boxes to select one of the three variables for each skill. The way I am planning to do is the following:

    An Employee table with employee names, a Skills table with skill names and an EmployeeSkill table with the 40 skills for each EmployeeID. Each time a new employee is created, a code runs an append query to add the EmployeeID and a set of 40 skills in the EmployeeSkills table.

    Does that make sense or is there a much easier way to create this?

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Yes, will save some labor. Won't have to individually select 40 skills to create records. Run the APPEND for new employee, refresh the form, then edit each skill record for the level.

    Probably have to save the employee record before creating skill records. I use VBA:

    DoCmd.RunCommand acCmdSaveRecord
    CurrentDb.Execute "INSERT INTO EmployeeSkills SELECT " & Me.EmpID & " AS EmpID, SkillID FROM Skills;"
    Me.Requery
    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: 1
    Last Post: 10-06-2011, 08:37 AM
  2. append query
    By gimmy in forum Queries
    Replies: 1
    Last Post: 09-09-2011, 10:41 AM
  3. Replies: 7
    Last Post: 07-21-2011, 01:01 PM
  4. Append query won't append
    By yelkenli in forum Queries
    Replies: 5
    Last Post: 02-12-2010, 11:19 AM
  5. Append Query
    By cotri in forum Queries
    Replies: 1
    Last Post: 01-28-2010, 08:52 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