Hi
I want to update with patch a record but it simply doesnt do anything
here is my code:
If(
!IsBlank(inpSiules.Text),
Patch(
Components,
LookUp(
Filter(Components,'Projekto nuoroda'.'Projekto pavadinimas'=lblProjektonumeris.Text),
Kodas=inpKodas.Text),
{
//new_componentsid:GUID(lblGUID.Text),
new_dsiules:Value(inpSiules.Text)
}
)
);
What i do here is i want to filter out the source table Components as it is quite large by what is entered in lblProjektonumeris then return Kodas=inpKodas.Text where Kodas is autonumber in datasource and i have this number entered in inpKodas and then update this record value new_dsiules with what is entered in inpSiules
What is wrong with this code?

Report
All responses (
Answers (