I need to get the total of two fields which are within the same row and input that number in a field at the end of that same row.
This is my code.
S
Try the following:
SELECT *, (FieldA + FieldB) AS Sum
FROM Table
If you want to add two columns together, all you have to do is add them. Then you will get the sum of those two columns for each row returned by the query.
What your code is doing is adding the two columns together and then getting a sum of the sums. That will work, but it might not be what you are attempting to accomplish.