473,396 Members | 1,918 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,396 software developers and data experts.

Having problems updating one table from another.

Hi All -

I'm new to Google Groups and just a novice user of Access, so please
forgive me if my question is elementary:

I am having a problem using the "update query" for my first time. In
my database, I have two tables. Both of the tables have duplicate
data, though the "Initial Data" table has many more records than the
"Filter Two" table due to a process of elimination that has occurred in
the past week. Both tables have 5 colums of important data. Recently,
the fields for the "Filter Two" table have been updated (with comments,
etc...) and I would like to automatically copy the data permanently
into the "Initial Data" table.

So far so good. I created an "Update Query" and selected the Columns I
would like to update in the "Initial Data" table. Next, in the "Update
to" field I entered: [Table Two].[Comments and Notes] etc for all five
rows. When I try to run the query, Access is asking me "Enter the
parameter value" and then just inputs whatever I type in to the fields
in the "Initial Data" table.

Would someone please suggest what I am doing wrong? Is there an easier
way to input the new data? (its over 1000 entries * 5 rows so i cant /
wont do it manually!)

Many thanks in Advance!

- jb

Mar 6 '06 #1
1 1813
Br
be*****@gmail.com wrote:
Hi All -

I'm new to Google Groups and just a novice user of Access, so please
forgive me if my question is elementary:

I am having a problem using the "update query" for my first time. In
my database, I have two tables. Both of the tables have duplicate
data,
Why duplicate data? Sort of defeats the point of a database doesn't it?
though the "Initial Data" table has many more records than the
"Filter Two" table due to a process of elimination that has occurred
in the past week. Both tables have 5 colums of important data.
Recently, the fields for the "Filter Two" table have been updated
(with comments, etc...) and I would like to automatically copy the
data permanently into the "Initial Data" table.
Why not just use one table and put a flag (boolean) field on it to
differentiate the initial/filter records?
So far so good. I created an "Update Query" and selected the Columns
I would like to update in the "Initial Data" table. Next, in the
"Update to" field I entered: [Table Two].[Comments and Notes] etc for
all five rows. When I try to run the query, Access is asking me
"Enter the parameter value" and then just inputs whatever I type in
to the fields in the "Initial Data" table.
You have to include the second table in your query and link it to the first
one.

Show us the SQL of the query.
Would someone please suggest what I am doing wrong? Is there an
easier way to input the new data? (its over 1000 entries * 5 rows so
i cant / wont do it manually!)

Many thanks in Advance!

- jb


--
regards,

Br@dley
Mar 7 '06 #2

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

Similar topics

4
by: Geoff | last post by:
Hi I'm hoping somebody can help me with the following problem that has occurred to me. Suppose I have two tables in an SQL Server database. Let's call these tables A and B. Assume that A has...
6
by: Rich | last post by:
Dim da As New SqlDataAdapter("Select * from tbl1", conn) dim tblx As New DataTable da.Fill(tblx) '--works OK up to this point da.UpdateCommand = New SqlCommand da.UpdateCommand.Connection =...
5
by: Ian Mackenzie | last post by:
Hey Guys I have just upgraded from V8,2 to 9.1 Express C and have hit a couple of problems. Here we go: I have created an app in delphi, which connects with the following connection...
2
by: ARC | last post by:
Just curious if anyone is having issues with Acc 2007 once the number of objects and complexity increases? I have a fairly large app, with many linked tables, 100's of forms, queries, reports, and...
2
by: rustyc | last post by:
Well, here's my first post in this forum (other than saying 'HI' over in the hi forum ;-) As I said over there: ... for a little side project at home, I'm writing a ham radio web site in...
4
by: AlexNunley | last post by:
I've adopted a moderately sized (65k records) active use database (Access 2000, Windows XP). One of the most commonly used forms is whats called the RMA generation field, used to add claim...
2
by: =?Utf-8?B?VmFuZXNzYQ==?= | last post by:
Hi All! I am with a situation where I am not getting the right updating to the form's fields. The situation is the following one: I have one combobox and one textbox. I am using the...
4
by: mayen001 | last post by:
Hi First time i am posting a question so here goes... I have created a bit of VBA for pupils where the aim is: input line of text from file;parse the input line and extract values; using the...
5
by: Bogdan | last post by:
Hi, I have a stored procedure that uses JOINs to return columns from multiple tables. I also have another stored proc that that takes a series of params and updates multiple tables. I used the...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...
0
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.