Hello,
After a Query I have data in my TXDataWebDataSet. I can see that, because the data are displayed in an DBGrid which has a DataSet which is linked to the TXDataWebDataSet.
Now I try to get Data from a specific field by:
btn_login_abbruch.Text:=Data_Module.xDST_Sprache.FieldByName('btn_login_abbruch').AsString;
btn_login_ok.Text:=Data_Module.xDST_Sprache.FieldByName('btn_login_ok').AsString;
But at runtime I get the error:
ERROR
Uncaught TypeError: Cannot read property 'GetJSONDataForField$1' of null | TypeError: Cannot read property 'GetJSONDataForField$1' of null at Object.GetFieldData$1 (http://localhost:8000/NedCom_Web/NedCom_Web.js:89295:34) at Object.GetFieldData (http://localhost:8000/NedCom_Web/NedCom_Web.js:76384:21) at Object.GetData (http://localhost:8000/NedCom_Web/NedCom_Web.js:73002:36) at Object.GetAsJSValue (http://localhost:8000/NedCom_Web/NedCom_Web.js:73130:21) at Object.CTimerTimer (http://localhost:8000/NedCom_Web/NedCom_Web.js:95148:136) at Object.cb [as FOnTimer] (http://localhost:8000/NedCom_Web/NedCom_Web.js:222:26) at Object.DoTimer (http://localhost:8000/NedCom_Web/NedCom_Web.js:20633:39) at cb (http://localhost:8000/NedCom_Web/NedCom_Web.js:222:26)
at http://localhost:8000/NedCom_Web/NedCom_Web.js [89295:34]
Why does that happens?