Hi there,
I have an OnChange function on a text input (# Students) that is designed to update all records in a gallery (# Stud.) when the number is changed. While i was using a SharePoint list as my database, it worked great, but now that I've moved over to an SQL DB, it doesn't seem to be firing when changed.

UpdateContext(
{newStudents:
'UE - Value - # Students'.Text}
);
ForAll(
'UE Unit Gal'.AllItems,
Patch(
'[dbo].[Units]',
LookUp(
'[dbo].[Units]',
ID = Value('UE Gal ID'.Text)
),
{
'Number_x0020_of_x0020_Students': Value(newStudents)
}
)
)The offending input is the one with the delegation error. If anyone can help me remove that as well, I'd be very grateful!