472,353 Members | 1,963 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,353 software developers and data experts.

Table append

Hi
I have a table that is imported from excel
the records are updated as required by the user

my question is
Can only the new data entered be appended to the table in access
ie if i update the table in the morning and import 10 records
when i next update the table i want to import only the new data

any help would be welcome

thanks

kevin
Nov 13 '05 #1
3 2258
"Kevin" <ke******@btinternet.com> wrote in message
news:9f**************************@posting.google.c om...
Hi
I have a table that is imported from excel
the records are updated as required by the user

my question is
Can only the new data entered be appended to the table in access
ie if i update the table in the morning and import 10 records
when i next update the table i want to import only the new data

any help would be welcome

thanks

kevin

An easy non-code solution is to create a linked table to the spreadsheet,
then base a query on the two tables which only displays the records in the
spreadsheet which do not have a matching entry in your local table. The
append query takes only these records.
Nov 13 '05 #2

Kevin wrote:
Hi
I have a table that is imported from excel
the records are updated as required by the user

my question is
Can only the new data entered be appended to the table in access
ie if i update the table in the morning and import 10 records
when i next update the table i want to import only the new data

any help would be welcome

thanks

kevin


Like Justin said, you could link your Excel table (File, get external
data, link tables...) and then use the find unmatched query wizard.
Once you've done that, you could turn your query into an append query.
if you wanted to go really nuts, you could write a macro that shut the
warnings off (Set Warnings=False), ran the query (DoCmd.OpenQuery
"qappNewRecords"), and then turned the warnings back on.

Nov 13 '05 #3
thanks both

pi********@hotmail.com wrote in message news:<11**********************@l41g2000cwc.googleg roups.com>...
Kevin wrote:
Hi
I have a table that is imported from excel
the records are updated as required by the user

my question is
Can only the new data entered be appended to the table in access
ie if i update the table in the morning and import 10 records
when i next update the table i want to import only the new data

any help would be welcome

thanks

kevin


Like Justin said, you could link your Excel table (File, get external
data, link tables...) and then use the find unmatched query wizard.
Once you've done that, you could turn your query into an append query.
if you wanted to go really nuts, you could write a macro that shut the
warnings off (Set Warnings=False), ran the query (DoCmd.OpenQuery
"qappNewRecords"), and then turned the warnings back on.

Nov 13 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: deko | last post by:
How to run action query against linked table? I have an Access 2003 mdb with an Excel 2003 Workbook as a linked table. When I attempt to run an...
21
by: Dan | last post by:
Hi, just ran into my first instance of a backend Access97 database not compacting. I'm getting the "MSACCESS.EXE has generated errors.." message on...
4
by: Amos | last post by:
I built the following Sub, in order to create tables automatically. The button is placed on a mask where there are 3 txt box, two of them contain...
4
by: Melissa | last post by:
I have a frontend file named CustomerApp and backend file named CustomerData. CustomerApp is at C:\Customer Database and CustomerData is at...
3
by: Steve Housechild | last post by:
I have a table of 'Customers', a table of 'Newsletters' and a table for storing which customers have recieved which letters 'CustLett'. By using...
12
by: Art | last post by:
Hi everyone I was hoping someone might be able to help me with this. I'm just starting to try to work with MS Access tables through VB.net. In...
5
by: Michael C via AccessMonster.com | last post by:
Hello, I have a table that I am appending 3 seperate tables into. My main problem is that each time I append the data, it simply adds to the...
4
by: Bob | last post by:
Hi all, I'm trying to import data, modify the data then insert it into a new table. The code below works fine for it but it takes a really long...
2
by: sri20 | last post by:
Set tblNew_Cycle = db.CreateTableDef(New_Cycle_Name) 'Adding Fields to the Table tblNew_Cycle.Fields.Append...
11
by: BeckR | last post by:
Hello - Thanks for reading my post. I am a newbie when it comes to VBA programming, but have managed to do what I need to do, until now. I...
1
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
0
jalbright99669
by: jalbright99669 | last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
0
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. ...
0
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable...
0
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific...
0
by: Carina712 | last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand....
0
BLUEPANDA
by: BLUEPANDA | last post by:
At BluePanda Dev, we're passionate about building high-quality software and sharing our knowledge with the community. That's why we've created a SaaS...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.