I need to change the DateColuum only when a certain option is selected.
In the code below I get the value of the combobox in a variable and then I try to insert it in the ID of that data
When I put the" varBoxAtm" variable in the Patch function, it is understood as a "Record" type and not as a Date".
If(comboBoxAtm.Selected.Value = "Foo";
Set(varBoxAtm; Now()));;
Patch(
TBL_INFO;
{
DateColuum: {
ID: emergencyGallery.Selected.ID;
Value: varBoxAtm;
}
}
);;