UpdateIf(
colPIP1, true,{
AreaNeedingImprovement1: TextInput1.Text,
ExpectedStandardPerf1: 'TextInput1.1'.Text,
ResultsAchieved1L: 'TextInput1.2'.Text,
AgreedAction1: 'TextInput1.3'.Text
};
colPIP2, true,{
AreaNeedingImprovement1: TextInput2.Text,
ExpectedStandardPerf1: 'TextInput2.1'.Text,
ResultsAchieved1L: 'TextInput2.2'.Text,
AgreedAction1: 'TextInput2.3'.Text
};
ClearCollect(
colPIP1,
{
AreaNeedingImprovement1: "",
ExpectedStandardPerf1: "",
ResultsAchieved1L: "",
AgreedAction1: ""
}
);
ClearCollect(
colPIP2,
{
AreaNeedingImprovement2: "",
ExpectedStandardPerf2: "",
ResultsAchieved2: "",
AgreedAction2: ""
}
);
ForAll(gal1Plan.AllItems,
Patch('PIP Database',
{AreaNeedingImprovement1: TextInput1.Text,
ExpectedStandardPerf1: TextInput1.1.Text,
ResultsAchieved1L: TextInput1.2.Text,
AgreedAction1: TextInput1.3.Text,}));
ForAll(gal2Plan.AllItems,
Patch('PIP Database',
{AreaNeedingImprovement1: TextInput2.Text,
ExpectedStandardPerf1: TextInput2.1.Text,
ResultsAchieved1L: TextInput2.2.Text,
AgreedAction1: TextInput2.3.Text,}))))