Home › Forums › KX Solutions › Dashboards Direct – How to specify an error message on Data Grid edit failure › Re: Dashboards Direct – How to specify an error message on Data Grid edit failure
-
If I modify my update function like below, where when the if statement is true it hits an undefined variable
“BadValueInputted” then the error message on screen just shows the first character of the missing variable, the “B”, so the Error message appearing on screen is ” “An error occurred executing the update query: Error text: B”.
Is there a way to display the full text and not truncate?
{[dgAdd;dgUpd;dgDel]if[not (first dgUpd[`Current]) in 10.0 20.0;BadValueInputted];$[((count dgUpd)>0);`testTable upsert flip dgUpd;];}