Results 1 to 3 of 3
  1. #1
    FRAZ is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jan 2013
    Posts
    12

    Code for appending a single record from one table to another table

    What is the most efficient method to append a single record into another table. I've tried using an append query but it appears to append more than just the single record. The appended table is to be displayed on a subform.in the past I would simply find the record, and do a set value macro and then requery the sub form.any input Is helpful

  2. #2
    BluffMeAllIn is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Dec 2013
    Location
    Canada
    Posts
    21
    HI Fraz,

    I would think if you are using an append query and it is appending more than a single record then you have not identified unquely in the query the record that you want appended into the new(other) table.

    If this were using vba code, which doesn't look like it is based on using append queries and macros, then there are multiple ways it could be done via coding using sql or standard dao.recordsets. I am rusty on the non-programming functions of access but would think perhaps the append query should work well but must be issues in the criteria of the query for it to take more than a single record.

    Perhaps you could provide some further details regarding the specifics of the records, the append query and such to be able to provide further feedback.

    Thanks,
    Dave

  3. #3
    Missinglinq's Avatar
    Missinglinq is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    May 2012
    Location
    Richmond (Virginia, not North Yorkshire!)
    Posts
    3,018
    Quote Originally Posted by BluffMeAllIn View Post

    ...Perhaps you could provide some further details regarding the specifics of the records, the append query and such to be able to provide further feedback...
    You might also explain why you're doing this. Appending a Record from one Table to another is generally a violation of normalization and thus inappropriate.

    Linq ;0)>
    The problem with making anything foolproof...is that fools are so darn ingenious!

    All posts/responses based on Access 2003/2007

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

Similar Threads

  1. Coping a single record from on table to another
    By drobertson@adxusa.com in forum Queries
    Replies: 5
    Last Post: 11-09-2012, 02:21 PM
  2. Replies: 4
    Last Post: 11-07-2011, 07:25 PM
  3. Replies: 5
    Last Post: 03-23-2011, 10:39 AM
  4. Move a single record to an archive table
    By 10 Gauge in forum Forms
    Replies: 7
    Last Post: 02-14-2011, 06:50 AM
  5. Update single record via forum, not entire table?
    By 10 Gauge in forum Programming
    Replies: 2
    Last Post: 02-11-2011, 09:14 AM

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