Using Patch (in PowerApps) to update a table. The request keeps coming back with the message and a series of letters and numbers.
I have checked every field being updated for context. Most are using variables set during the input or selection of data. the Patch statement looks like this in the OnSelect on the Submit button:
Patch(
'[dbo].[TSheet]',
Defaults('[dbo].[TSheet]'),
{
EmployeeId_1: Value(Enterid.Text),
tdate: (DataCardValue5),
Tjobno: (DataCardValue3),
tstart: (_startdate),
Tlocs: (_startlat),
Tlocslong: (_startlong),
ps1: (_sw1),
ps2: (_sw2),
ps3: (_sw3),
ps4: (_sw4),
ps5: (_sw5),
ps6: (_sw6),
ps7: (_sw7),
ps8: (_sw8),
ps9: (_sw9),
ps10: (_sw10),
ps11: (_sw11)
}
)
The table has an internal primary key which is meant to increment by 1 with each update.
This is not the only table I get this issue with.
All help is gratefully received.