Need your help with Risk Management Application questions regarding SQL Statements and Parameters

Firstly must say well done for getting this far with no need to post a question here in the Community! Everything you have done looks great, seriously well done @struppihh

Lets see if can help you out a little (I'm in and out of the office so excuse delayed replies my side) .

This post will help explain how to sum. You could then use a hidden input within your form to populate it (set its value with the sum) with the result, then post this hidden input to your database. Below are the methods you can use and links to their functions.

* (Multiplication)

+ (Addition)

- (Subtraction)

/ (Division)

You would be far better off using hidden inputs/variables to do this, and populate them with an onclick dynamic event or such, with the result data obtained from the query. Then post these inputs as normal within your form to insert to the database.

Or alternatively if you want to pass between pages check this post out for some ideas on how to do so.

Hope that helps @struppihh?

2 Likes