473,406 Members | 2,312 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 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 2326
"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 action query against the linked table I get this...
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 compact. I've narrowed it down to the largest...
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 the "Bank name" and "Bank a/c". I want to name the...
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 S:\Customer Database. Could someone help me with the code...
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 a query, I have pulled a list of customers who...
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 Access I can take an existing table and add a new...
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 data already there. That might sound ok, except that...
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 time for 15,000 odd records. Is there a way I...
2
by: sri20 | last post by:
Set tblNew_Cycle = db.CreateTableDef(New_Cycle_Name) 'Adding Fields to the Table tblNew_Cycle.Fields.Append tblNew_Cycle.CreateField("Test_Cycle", dbText) 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 have an Access 2000 database (running WinXP Pro...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.