PC Review


Reply
Thread Tools Rate Thread

Append tables

 
 
maxaral
Guest
Posts: n/a
 
      24th Jun 2006
I have an Access table linked to an external excel file that is updated
frequently. Is there a way to have only the new entries on the external
table appended to the Access table? (Using MS Office2003)

Thanks


 
Reply With Quote
 
 
 
 
Wolfgang Kais
Guest
Posts: n/a
 
      24th Jun 2006
Hello "maxaral".
"maxaral" wrote:
> I have an Access table linked to an external excel file that is
> updated frequently. Is there a way to have only the new entries on the
> external table appended to the Access table? (Using MS Office2003)


What do you mean with "linked"?
If you created a linked Excel table in your Access database there was
nothing to append.
So I guess you did not and you frequently add records through an import.
To identify what you already have imported, there should exist a column
containing unique values that can be used to identify the records.
1. Proposal (quick and dirty):
Make this column the primary key of the Access table.
You will get an error message about a number of key violations on every
subsequent import, but new records will be imported.
2. Proposal (like it more)
Create a linked table that points to the Excel file. Create a query that
finds the records of the linked table that have no mathing record in the
Access table (there is a wizard for that) and append these records to
the Access table.

--
Regards,
Wolfgang


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Append to two different tables alhotch Microsoft Access Queries 23 29th Apr 2010 07:50 PM
Append two tables Aurora Microsoft Access 3 24th Nov 2008 05:07 PM
Append tables indigo993 Microsoft Access Getting Started 1 18th Sep 2008 12:05 AM
Append Tables Jeff Microsoft Access 5 31st Jan 2008 04:11 PM
Can I append to 2 different tables? Darrell Childress Microsoft Access Queries 2 22nd Jan 2007 05:02 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:57 PM.