473,472 Members | 1,728 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Update/Append Query

1 New Member
I have a list of about 58,000 records which I created by merging numerous smaller lists, each of which contain a certain keyword.

What I want to do now is update the master list of 58,000 records so that each line shows which of one or more keywords that record contains.

For example, the original source tables contain the following fields:

DocID, Keyword

where DocID uniquely identifies each record no matter what table that record is in.

If Term1 table contains DocID XX0001 and Term2 table also contains DocID XX0001, in the master table (All) that was created by merging tables Term1 and Term2, I want to create a field (Issues) which will contain the text Term1, Term2, which is created by pulling and linking data from the two individual term tables.

I'm not sure if I'm explaining this well. I don't know SQL, but I've been able to figure out the user-interface query system in Access somewhat. I've figured out how to update records, but now I would like to update and append subsequent series of data.

Any suggestions or advice?

Rebecca Schley
[E-Mail Deleted]
Jun 19 '07 #1
1 1772
Rabbit
12,516 Recognized Expert Moderator MVP
I have a list of about 58,000 records which I created by merging numerous smaller lists, each of which contain a certain keyword.

What I want to do now is update the master list of 58,000 records so that each line shows which of one or more keywords that record contains.

For example, the original source tables contain the following fields:

DocID, Keyword

where DocID uniquely identifies each record no matter what table that record is in.

If Term1 table contains DocID XX0001 and Term2 table also contains DocID XX0001, in the master table (All) that was created by merging tables Term1 and Term2, I want to create a field (Issues) which will contain the text Term1, Term2, which is created by pulling and linking data from the two individual term tables.

I'm not sure if I'm explaining this well. I don't know SQL, but I've been able to figure out the user-interface query system in Access somewhat. I've figured out how to update records, but now I would like to update and append subsequent series of data.

Any suggestions or advice?

Rebecca Schley
[E-Mail Deleted]
If I understand correctly:
Expand|Select|Wrap|Line Numbers
  1. Table: Term1
  2. DocID: XX001
  3.  
  4. Table: Term2
  5. DocID: XX001
  6.  
  7. Table: Master
  8. DocID: XX001
  9. KeywordField: Term1 Term2
  10.  
You'll have to run an update query for each table.

Expand|Select|Wrap|Line Numbers
  1. UPDATE Master INNER JOIN Term1 ON Master.DocID = Term1.DocID
  2. SET KeywordField = KeywordField & "Term1 "
  3.  
Then you rinse and repeat for each of your tables.
Jun 19 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: JMCN | last post by:
hi i need some advice on whether if it would be better to use an append query or an update query. here is the situation, i have linked another database table to my current database. then i...
9
by: Dom Boyce | last post by:
Hi First up, I am using MS Access 2002. I have a database which records analyst rating changes for a list of companies on a daily basis. Unfortunately, the database has been set up (by my...
1
by: Aaron | last post by:
Hello fellow programmers, I am trying to run an append/update query from code, a command button on a form initiates the queries. the format i am using is; ...
4
by: MN | last post by:
I have to import a tab-delimited text file daily into Access through a macro. All of the data needs to be added to an existing table. Some of the data already exists but may be updated by the...
16
by: ARC | last post by:
Hello all, So I'm knee deep in this import utility program, and am coming up with all sorts of "gotcha's!". 1st off. On a "Find Duplicates Query", does anyone have a good solution for...
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
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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,...
1
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...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.