Hi Guys,
Please can you help I am creating an offline app that all the data saves to a collection until they do the last entry on a Saturday (for reference its a daily inspection).
When I use the patch on it, it works correctly and sends the data to SharePoint but it only puts the last items values ie. Saturdays values in all the entries.
Please can you help
ForAll(
OfflineData,
Patch(
'Quarry Daily Inspections',
Defaults('Quarry Daily Inspections'),
{
Title: Dropdown2.Selected.Value,
Activeface: Checkbox1.Value,
Facesadjacent: Checkbox1_1.Value,
Slopesadjacent: Checkbox1_2.Value,
Overburden: Checkbox1_3.Value,
Settlementlagoons: Checkbox1_4.Value,
Stockpiles: Checkbox1_5.Value,
Haulroads: Checkbox1_6.Value,
Signnotices: Checkbox1_7.Value,
Sitepersonnel: Checkbox1_8.Value,
Bundwaste: Checkbox1_9.Value,
Comments: TextInput1.Text
}
)
);
Clear(OfflineData);
SaveData(
OfflineData,
"OfflineData"
);
Navigate(Save)