Sorry, I know it's confusing to me too but my SME wants me to alter the insert to DB part so that a report can be easily filtered for later use. I will explain how it works now, and how I want it to work, next.
Currently this is how the form works:
1) On form open DBXL retrieves from SQL view, employee info to fill header info, and also retrieves a SQL table to retrieve statements that populate the table rows (85 rows get populated with statements) .
2) User clicks a radio button control to right of each row or statement.
3) The value of the radio button checked (1, 2, 3 , 4 or 5) is passed to a field
4) On button click, DBXL inserts (or overwrites if existing) one line of all form information into another table, all the employee header info and all statements and their resulting radio button values that were selected.
5) the table in the database receives one row of values from each form for : DocID (1), EmpName (Mark), EmpID(123), Statement 1 value, Result1 value, Statement 2 value, Result 2 value, Statement 3 value, Result 3 value, and so on...
How I would like this to work is change step 5 to be:
5) On button click DBXL inserts multiple rows to table in database like this:
row 1: DocID (1), EmpName (Mark) EmpID (123), statement 1 value, result 1 value
row 2: DocID (1), EmpName (Mark), EmpID (123), statement 2 value, result 2 value
row 3: DocID (1), EmpName (Mark), EmpID (123), statement 3 value, result 3 value and so on...