Hi
I am having an issue with the concurrent() function. I have a SQL table (Using a SQL server connection) that has three fields which has to be updated when certain conditions are met. I use the UpdateIf function to update these. However when I use the UpdateIf in a Concurrent function to make all three UpdateIf's to run simultaneously I get an error. What am I doing wrong?
The function is:
Concurrent(
UpdateIf(
'[dbo].[MRP]';
And(
ParentGUID = Gallery1.Selected.ParentGUID;
IsBlank(Gallery1.Selected.ParentGUID) = false
// IsBlank(Gallery1.Selected.ChildGUID) = false
);
{Mål: DataCardValue6_1.Text}
);
UpdateIf(
'[dbo].[MRP]';
And(
ParentGUID = Gallery1.Selected.ParentGUID;
IsBlank(Gallery1.Selected.ParentGUID) = false
// IsBlank(Gallery1.Selected.ChildGUID) = false
);
{Afsnit: DataCardValue8_1.Selected.Text}
);
UpdateIf(
'[dbo].[MRP]';
And(
ParentGUID = Gallery1.Selected.ParentGUID;
IsBlank(Gallery1.Selected.ParentGUID) = false
// IsBlank(Gallery1.Selected.ChildGUID) = false
);
{Målnr: DataCardValue40.Selected.Value}
)
)