Hi @sludgeza ,
Do you set the ID as Requried/Mandatory field within your DB2 table?
Based on the issue that you mentioned, I think you have some misunderstanding on data sources in PowerApps.
Actually, the PowerApps app inherits data access permissions from data source itself. The Edit form data cards would be generated based on data source itself.
If you set the ID as Requried/Mandatory field within your DB2 table, you must provide a value for this field wthin your Edit form.
As an an fixed solution, please consider set the Default property of the Text Input box within the ID data card in your Edit form to following:
First(Sort('Your DB2 Table', ID, Descending)).ID + 1
Set the OnSelect property of the "Submit" button to following:
Refresh('Your DB2 Table'); /* <-- Add this formula */
SubmitForm(EditForm1) /* <-- EditForm1 represents the Edit form in your app */
Best regards,