Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Here's a real easy one for you guys 1

Status
Not open for further replies.

Scorez2000

Programmer
Feb 5, 2004
87
GB
I have a table called directory, and within this there is a field called AnnualBalance which is a number field. The primary key is employeeID.

I want to run a query that adds 1 to one annualbalance where the employee number is 487.


I'm doing this through ASP, so I was just going to read the value out into the ASP script with a query, assign it to a variable, add 1 to that variable and then run another query to write it back, but I'm guessing there's a quicker way.
 
yep, that done the trick. Thanks.
You get a star. YAY!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top