Results 1 to 4 of 4
  1. #1
    burrina's Avatar
    burrina is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2012
    Location
    Freeport,Texas
    Posts
    1,383

    Append Query For Single Record

    I have an append query that works ok but now that I have added record to the form where it is run from, it wants to add ALL of the records!

    The Primary Key on this form is EventID and I dont need to append it to anything since the table it is appending to has it's own Key for that record.???
    Primary Key on check register form is RegID and that is the form where the data will be displayed.

    Table where data is coming from is named tblEvent (Primary Key EventID) and Table where data is going to is named TReg (Primary Key RegID)

    I need some suggestions please.
    Attached Thumbnails Attached Thumbnails AppendQuery.jpg  

  2. #2
    apryls82 is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Dec 2012
    Posts
    2
    the form is writing to the Event table before it appends to the TReg table?

    maybe you can try adding the Event ID to the query (leave append to blank) and in the Criteria do MAX([tblEvent].[eventID])


    I am having a similar issue, its not adding all records, but it is picking 12 of them. in the criteria of my date column i have Date() but its still picking some with other dates.

  3. #3
    burrina's Avatar
    burrina is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2012
    Location
    Freeport,Texas
    Posts
    1,383
    That gave me a aggregate error. saying I cant have it in the where clause. NO, the form is just where I fire off the event since it is where the scheduling takes place, it runs the append query from the table the form was based on and enter that data into another table. Nothing happens to the original other table.

  4. #4
    burrina's Avatar
    burrina is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2012
    Location
    Freeport,Texas
    Posts
    1,383
    Okay, I gave up on this approach and instead decided to just use a filtered form as criteria instead and run update from there with ONLY selected records.

    Thanks, everyone.

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

Similar Threads

  1. Append Query Creates a New Record
    By burrina in forum Queries
    Replies: 5
    Last Post: 01-01-2013, 07:27 PM
  2. APPEND Query for changed record
    By dben901 in forum Queries
    Replies: 9
    Last Post: 12-17-2012, 01:33 PM
  3. Query record set into single excel row
    By bruegel in forum Queries
    Replies: 10
    Last Post: 07-09-2012, 08:20 AM
  4. append query without duplicate record
    By smahdih in forum Queries
    Replies: 5
    Last Post: 11-16-2011, 12:29 AM
  5. Single Record Update Query from a Form
    By Steven.Allman in forum Access
    Replies: 0
    Last Post: 03-30-2011, 09:34 AM

Tags for this Thread

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