Hey guys, I hope you all are having a great day.
I'm building an app with a SQL Server data conection, the basic app purpose is to get an item from the data base and them te user could patch the quantity of the items in stock.
But even though the formula seem ok I recive the runtime error bellow:
The code I'm using is bellow:
Set(QTT_A, LookUp(TABLE, COLUMN = Value(OP.Text)).QTT_DB_A);
Set(QTT_B, LookUp(TABLE, COLUMN = Value(OP.Text)).QTT_DB_B);
Patch(
TABLE;
Filter(TABLE, COLUMN = Value(OP.Text)),
{
QTT_DB_A: (QTT_A + Value(FIELD.Text)),
QTT_DB_B: (QTT_B - Value(FIELD.Text))
}
)
Thanks in advance and I hope you can help me.
Have a good day.

Report
All responses (
Answers (