Add to exsiting value on update

M

Mangler

I need a quick suggestion on the best way to accomplish the below:

A user can update a record in the db on the front end so....

if this is the first entry they input the value and submit it....

if the exsisting value needs to be updated because more came in, I want
the update to add to the exsisting value automatically on the front end
when the form is submitted ( dont trust the users math skills )

any help/suggestions are appreciated.....
 
M

Mike Brind

Mangler said:
I need a quick suggestion on the best way to accomplish the below:

A user can update a record in the db on the front end so....

if this is the first entry they input the value and submit it....

if the exsisting value needs to be updated because more came in, I want
the update to add to the exsisting value automatically on the front end
when the form is submitted ( dont trust the users math skills )

any help/suggestions are appreciated.....

Update Table Set field1 = (field1 + increment)
 

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

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top