Hello -
I'm struggling with Patching multiple related records. Backend is Dataverse. This is a PowerApps for Teams canvas app.
In the database, amongst other things:
- A table named Patients that lists patient data (one)
- A table named Caseload that lists related data about which Patients are on individual providers' caseloads (many)
I have a collection of data called colPtUpdates - this is a stash of Patient records that have been updated on a form. I am saving these updated records to the database via Patch, no problem.
Next step would be to save some of the Patient information to the Caseload table. This seems like it should be so simple, and I am referencing an example that I found here: How to bulk update records in PowerApps | Microsoft Power Apps
The code is attached. The error it's getting is: "The specified column is not accessible in this context."
I've similarly tried just collecting related Caseload records in a collection with similar errors happening.
I'm completely mystified.
Does anyone have any thoughts about what I'm missing? I'm sure it's a lot - PowerApps has not come easily to me...
Thanks,
Liz