Hi PowerApps Gurus,
I managed to patch my SharePoint from two sources, one from the drop-down list and another from the gallery.
However, I realized that my update for the gallery is only taking my first input i.e. if I have two items in the gallery and I input 100 and 200 respectively, my SharePoint will update both items as 100.
not sure if any gurus can help me :). I'm grateful and thank you.
my code below:
ForAll(
colBulk As ir,
Patch(
'Official KrisFlyer Miles Declaration',
LookUp(
'Official KrisFlyer Miles Declaration',
ID = ir.ID
),{'Option Submitted':ddlOptions1.Selected});
Patch(
'Official KrisFlyer Miles Declaration',
LookUp(
'Official KrisFlyer Miles Declaration',
ID = ir.ID
),{'Actual Miles Declared':TextInput2_1.Text})
);
Clear(colBulk);
Reset(ddlOptions1);
Navigate(Screen1,ScreenTransition.Cover)