@WilliamsSA
I don't have experience with sql but with SharePoint and Dataverse. Start by making an empty collection from the datasource fields and then removing the blank first record. This can be done as the OnSelect property of a button or in the OnVisible property of the screen.
Collect(collection, Defaults(datasource); //will create a collection with a blank field
Clear(collection) // removes the blank field and just leaves the column heads
This will create an empty collection with all the fields. Then as you add records to the collection, say from a gallery using
Collect(collection, {ID:ThisItem.ID, LastName:Textinput2.Text, Status:Combobox1.Selected.Status...)
Note the ID:ThisItem.ID must be in the list along with the fields to be modified.
To add the collection to the datasource, a button with OnSelect: Patch(datasource, collection) will modify the records in the datasource using the data in the collection.
To add a new record, first, a new blank record can be added to the datasource with with:
Collect(collection, Defaults(collection) and should be assigned an ID automatically by SQL.
That blank record, just added, should now have an ID and can then be modified as in the formula above.