thanks for your quick response. I'm not sure where the sql place is to paste
it?
Yes there are several interest "columns" as part of the table, which has
other info as well
fredg said:
First I'm new to Access, so be patient.
I want to write an update query that goes through a table and adds 1 percent
to an existing value. fyi i'm updating interest, which changes on the first
of every month.
I need to update several different columns, so if I can't do it all in one,
I can write individual ones.
I looked in the knowledge base, but I didn't see anything that covered it.
You can do it all at once.
Here is the Update SQL.
Copy and paste the below SQL into the SQL view of a new query.
Change the table and field names as needed.
Update YourTable Set YourTable.[Field1] = [Field1] * 1.01,[Field2] *
1.01, [Field3] * 1.01;
Note: you already have this information in your computer?
Access Help + Contents + Microsoft Access Help + Microsoft Jet SQL
Reference + Data Manipulation Language + Update Statement
There is an example of updating 2 fields at one time right there.
Create a New query.
When the dialog box opens, select Design View.
When the Show Table dialog appears, close the dialog (no need to
select a table, though you can if you want to).
When the grid appears, click on View + SQL (or click the tool button
that says SQL).
The SQL window will open with the word Select highlighted.
Delete the word.
Then write the query, exactly as I wrote it, replacing my generic
table and field names with the actual table and field names you are
using.
Your done.
Test the query by clicking on the Query View tool button (the one that
previously said SQL. The records will be displayed, but not updated.
If all is well you can run the query by clicking on the bang (!) tool
button. You'll be prompted to OK the update.
If you wish, you can now click on View + Design and you will see the
query grid, which will now look like the grid that Marshall suggested
to you.
PS: Don't forget to back up your data, as this appears to be the first
time you have done this.