You could try using RenameColumns on your collection, eg
ForAll(
RenameColumns(form_elements_collection,"Field_element_data_id", "FED_id") As F,
If(
F.Action = "U",
Patch( '[dbo].[Field_element_data]',LookUp( '[dbo].[Field_element_data]' As C, C.Field_element_data_id = F.FED_id ),
{ Value_int: F.Value_int, Value_text: F.Value_text, Value_varchar: F.Value_varchar } ) ));.
Sometimes this can work better than disambiguation.
Thank Eelman
It was worth a try!
I get error ribbon
the specified record was not found. Server response: [dbo].[Field_element_data] failed: Invalid column name FED_id
It got the same thing when I renamed the column before the patch.
James
Try removing the "... As C .." part and any references to it. It's not really needed and maybe causing the issue.
Stay up tp date on the latest blogs and activities in the community News & Announcements.
Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
User | Count |
---|---|
204 | |
181 | |
68 | |
36 | |
33 |
User | Count |
---|---|
341 | |
274 | |
114 | |
75 | |
58 |