i have a problem with updating multiple rows in sql table
my app is set up so that when u search for a ordernumber you will first get one entry that you can click in on and then you will see all orders with the same ordernumber
the problem comes when i try to update the sql table
you have tthe option to close the order and when you do that it should close all orders with the same order number but 2 problems arise when i try this
first all columns except for the one that registre if the order is closed get updatet to be null.
second it only updates one row and not all rows with the same order number
my code is
If(varNewPol = true, ForAll(colEditRestordre, Patch('EXCEL.RestOrdrer', LookUp('EXCEL.RestOrdrer', OrdreNr = Label_NewPol_OrdreNr_Value.Text), {Lukket: 1})));
lukket being the name of the column that registre if it closed or not. im not using boolean values but 0 and 1