Results 1 to 2 of 2
  1. #1
    GraemeG is offline Competent Performer
    Windows Vista Access 2007
    Join Date
    Feb 2011
    Posts
    152

    Append to multiple tables

    hi,



    I have an append query which I am trying to append to multiple tables at once is this possible.
    I have the following sql which isnt working at the minute.
    Code:
    INSERT INTO [MOT:Bathroom] ( propref )
    INSERT INTO [MOT:Bedroom1] ( propref )
    INSERT INTO [MOT:Bedroom2] ( propref )
    SELECT Propertyextract.propref
    FROM Propertyextract;
    Thanks

  2. #2
    pbaldy's Avatar
    pbaldy is online now Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    As answered elsewhere:

    I don't think you can do that. The syntax allows for a single table or query. The only way you might be able to do it (with a single append query) would be to specify a query instead of a table, with that query having fields from all 3 tables. Of course, that query couldn't be read-only, which a lot of multi-table queries are:

    http://allenbrowne.com/ser-61.html
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. Replies: 5
    Last Post: 12-12-2011, 08:08 AM
  2. multiple tables, multiple forms, one record
    By FullyBaked in forum Forms
    Replies: 7
    Last Post: 10-24-2011, 04:27 AM
  3. Replies: 10
    Last Post: 07-12-2011, 11:09 PM
  4. Replies: 4
    Last Post: 06-14-2011, 07:19 PM
  5. append query for multiple databases
    By vasto in forum Access
    Replies: 0
    Last Post: 09-24-2009, 08:34 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