Hi.
I'm trying to get this to work:
SubmitForm(Form1);; Patch( '[dbo].[Grupper]'; LookUp('[dbo].[Grupper]'; kar_id = varKarId); { antall: Value(DataCardValue7.Text) - Value(DataCardValue3.Text) });; NewForm(Form1)
, but it seems the math part
Value(DataCardValue7.Text) - Value(DataCardValue3.Text
doesn't work inside the patch function. I've gotten it to work in a label, though.
Do I have to do the math in a hidden label and refer to that label inside the patch function or is an easier way possible?