Apologies I am only just getting round to replying to you. This has been a great help so thank you.
I think I have followed your instructions and created the flow - I have posted a few screenshots below to see if you can confirm I have taken the correct steps.
These are the fields I want to update on the audit table (history table as shown below)
This is step 2 from your instructions, to list rows present in table (I have redacted some information) This file is the master file being pulled from my sharepoint group and have used the container id as the unique reference in the filter query.
Below is step 3 from your instructions, adding row into table action - here I have used the History table where the old records will be stored (some information has been redacted)
The grey columns headers with H at the end are the headers from the History table and the excel dynamic content is the associated fields from the master table
Now is step 4 from your instructions is updating the master table with new data
Assuming that I have done this correctly, please could you see if I have?
How do I then get this flow to trigger when the form is submitted by the user to copy over old data and then update with new?
At the moment, the onselect code for the submit button on the form is: SubmitForm(FORMNAME) - do I need to add in any additional code to get the flow to trigger?
Many thanks for your help, it is very much appreciated