Results 1 to 4 of 4
  1. #1
    ml2009 is offline Novice
    Windows XP Access 2007
    Join Date
    Jan 2010
    Posts
    2

    Table Overwrite

    If I overwrite table A with table B, it has the same fields/structure as table A, and name it the same as table A, will existing queries that read from table A work correctly?

  2. #2
    ConneXionLost's Avatar
    ConneXionLost is offline Simulacrum
    Windows XP Access 2003
    Join Date
    Jan 2010
    Location
    Victoria, Canada
    Posts
    291
    Hi ml2009,

    One solution is to use a delete query to remove the data from Table A (this will leave the table structure and relationships intact), then use an append query to add the new data from B to A.

    Cheers,
    Last edited by ConneXionLost; 01-14-2010 at 01:48 AM.

  3. #3
    NTC is offline VIP
    Windows Vista Access 2007
    Join Date
    Nov 2009
    Posts
    2,392
    if there are fixed relationships to the table - - you won't be able to delete it or change its name without first dealing with those relationships.

    but otherwise, yes, replacing a table with another table of the same name will not cause the queries to change....they will work when you run them....

  4. #4
    ml2009 is offline Novice
    Windows XP Access 2007
    Join Date
    Jan 2010
    Posts
    2
    Thanks, Didn't want to change the relationships....i'm glad I didn't delete it yet. The append query worked great.

    Many Thanks!

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

Similar Threads

  1. Replies: 2
    Last Post: 10-27-2009, 07:09 AM
  2. Import and overwrite?
    By Ben in forum Import/Export Data
    Replies: 3
    Last Post: 08-11-2009, 08:43 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