Results 1 to 6 of 6
  1. #1
    jdashm is offline Advanced Beginner
    Windows 10 Access 2013 32bit
    Join Date
    Mar 2016
    Posts
    58

    appending a new record in an access table to another table

    I have a project in which I need to create a new record in a table after a record is added in another table. I wanted to use Data Macros to do this but the end user version is Access 2007.


    What is the best way to do this. The new record should be triggered after insert when a particular field is true.

  2. #2
    orange's Avatar
    orange is offline Moderator
    Windows 8 Access 2010 32bit
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,726
    Why not an Insert query, that gets executed after the successful update/edit of the other table?

    Good luck.

  3. #3
    jdashm is offline Advanced Beginner
    Windows 10 Access 2013 32bit
    Join Date
    Mar 2016
    Posts
    58
    Thanks for the reply. By an Insert Query I assume you mean using SQL. My SQL skills are not great. Could you assist me with the syntax I could use and whether I need to create a query or use this in VBA.
    The main goal is to create a record in a table after a new record is added to another table (they are related) IF a yes/no field in that table is True. I only need some of the fields (i.e. Job Number, Product Name, Delivery Date). Thanks in advance for your help.

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

  5. #5
    vicsaccess's Avatar
    vicsaccess is offline Competent Performer
    Windows 8 Access 2013
    Join Date
    Apr 2015
    Posts
    451
    try this https://www.youtube.com/watch?v=bOnF...03jQ_t9nFV737s
    its a good series, #'s 15,16 & 17 should show you the basics.

  6. #6
    jdashm is offline Advanced Beginner
    Windows 10 Access 2013 32bit
    Join Date
    Mar 2016
    Posts
    58
    Thanks much. That was a big help. Got it done!!!

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

Similar Threads

  1. Trouble appending a table
    By Gryphoune in forum Access
    Replies: 9
    Last Post: 01-27-2016, 12:42 PM
  2. Replies: 12
    Last Post: 12-25-2015, 03:25 PM
  3. Appending excel sheets into access table
    By al8876 in forum Access
    Replies: 4
    Last Post: 08-17-2015, 03:44 PM
  4. Replies: 9
    Last Post: 10-24-2014, 11:34 AM
  5. Replies: 2
    Last Post: 12-05-2013, 12:09 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