Update Query Question

S

Secret Squirrel

I'm trying to add text to one of my fields in the following update query:

UPDATE tblVacationOverrides INNER JOIN tblEmployees ON
tblVacationOverrides.ID = tblEmployees.ID SET tblEmployees.VacationOverrides
= tblVacationOverrides.NetDaysAvail, tblEmployees.VacationOverrideReason =
"Carried over from 2007"
WHERE (((tblEmployees.VacationOverrides)>"0"));


How can I enter text that says "Carried over from: " and then have it enter
the previous year? Right now I have it set up to enter it all as text but I
want the previous year to be filled in automatically so I won't have to keep
changing it every year.
 

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

Similar Threads

Query Question 1
Update Query w/ Join 2
Update Query 6
dlookup in Query 10
convert text to numeric values 8
Append Query 11
Query Date Problem 8
Running Update Query in VBA fails 5

Top