Page 2 of 2 FirstFirst 12
Results 16 to 19 of 19
  1. #16
    JGrots is offline Advanced Beginner
    Windows 7 64bit Access 2003
    Join Date
    Jan 2013
    Posts
    65
    I'm going to add the RequiredTraining parameter back in. I took it out just to test the code and to see if all the topics got inputted into the TrainingTable.



    So I can't create a new query that groups EmpID and CategoryID (see table below) and then if EmpID and CategoryID on the form don't match the query, input the topics?

    EmployeeID CategoryID
    63 1
    63 9
    63 10
    64 6

  2. #17
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,870
    Can you post a copy of the latest database, or is it the same as previously posted?

  3. #18
    JGrots is offline Advanced Beginner
    Windows 7 64bit Access 2003
    Join Date
    Jan 2013
    Posts
    65
    Orange, I did the unique composite index and it worked like a charm! Thanks!

    Here's the updated db:Training Database Test.mdb

  4. #19
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,772
    I've never bothered with setting indexes manually, composite or otherwise. I just tried with the TrainingTable and it didn't work. The INSERT still entered duplicate pairs. I know it's supposed to work but don't know what I'm missing.

    EDIT: I see you got it to work. Congratulations!
    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.

Page 2 of 2 FirstFirst 12
Please reply to this thread with any new information or opinions.

Similar Threads

  1. How to Create a Training Database
    By jmansfield in forum Access
    Replies: 3
    Last Post: 02-03-2014, 02:56 PM
  2. Training Database - Need more help from JZWP11
    By Harley Guy in forum Access
    Replies: 1
    Last Post: 03-13-2013, 08:42 AM
  3. Training Database
    By BISCUITPUMPER in forum Access
    Replies: 11
    Last Post: 08-20-2011, 10:15 AM
  4. training video database
    By bkvisler in forum Access
    Replies: 6
    Last Post: 08-24-2010, 09:51 AM
  5. Training Records Database
    By weisssj in forum Database Design
    Replies: 4
    Last Post: 04-21-2010, 03:36 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