Update Query Problem

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi--I am trying to figure out how to give a raise to a select number of
people in my query. I have it set up by social security number and wage
rate, what I am having problems with is the people are not getting the same
amount of raise and I cannot make it work so only the right people get their
raise....

I have set up a new table with the SSN's and Raise increase, what Im trying
to do is add the raise to the rate...any ideas?
 
Hi--I am trying to figure out how to give a raise to a select number of
people in my query. I have it set up by social security number and wage
rate, what I am having problems with is the people are not getting the same
amount of raise and I cannot make it work so only the right people get their
raise....

I have set up a new table with the SSN's and Raise increase, what Im trying
to do is add the raise to the rate...any ideas?

the SSN should be the Primary Key of both tables, I'm guessing. Create a Query
joining the two tables by SSN; update the wages table Wage field to

[Wages].[WageRate] + [Raises].[RaiseAmount]

or whatever the table and fieldnames are. The brackets are essential,
otherwise Access will interpret the names as text strings.

John W. Vinson [MVP]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top