The code inside ForAll is only creating a record in memory – it never writes to the data source.
You must call Patch() (or UpdateIf) inside ForAll and target the SharePoint list.
Something like this if You updating a record :
ForAll(
Gallery2.AllItems As row,
Patch(
MySharePointList, // <-- your SharePoint list name
LookUp(
MySharePointList,
ID = row.ID // record to update
),
{
Title: TextTitolo.Text,
MODREDDITIZZ: ComboModreddittiz2.Selected.Value,
LIQIVA: ComboLIQIVA.Selected.Value,
ILVALPE: CheckILPE.Value,
INTRASTAT: CheckINTRA.Value,
DICHIVA: CheckDICHIVA.Value,
IMU: CheckIMU.Value,
CU770: CheckCU770.Value,
TSANITARIA: CheckTSAN.Value,
ATTUALE: CheckATTUALE.Value
}
)
);
or if you crating a record
ForAll(
Gallery2.AllItems As row,
Patch(
MySharePointList, // <-- your SharePoint list name
Defaults(MySharePointList), // <-- your SharePoint list name
{
Title: TextTitolo.Text,
MODREDDITIZZ: ComboModreddittiz2.Selected.Value,
LIQIVA: ComboLIQIVA.Selected.Value,
ILVALPE: CheckILPE.Value,
INTRASTAT: CheckINTRA.Value,
DICHIVA: CheckDICHIVA.Value,
IMU: CheckIMU.Value,
CU770: CheckCU770.Value,
TSANITARIA: CheckTSAN.Value,
ATTUALE: CheckATTUALE.Value
}
)
);
I hope that make sense but I'm not sure what Items you have in Your gallery as it will run after all of them and patch or crate records with Values from this controls so if you want update 1 record have Gallery2.Selected rather AllItems but I do not know context of solution you developing.