NetGetData - method of the AtouchX object
Description:
Reads the entire database variable.
The method reads the content of the whole database variable. The reading is asynchronous, after the reading is finished the
EndNetGetData event is triggered, which reports the result of the communication and the read data. The event is also passed the
Param value, which is used by the user to self-identify.
Syntax:
Integer NetGetData(Long WID, Long Param)
Parameters:
WID | (Long) WID of the database variable to be read. |
Param | (Long) The value that is passed unchanged to the end reading event. |
---|
Example:
JavaScriptVBScriptSelect and copy to clipboard
var oATC = pMe.Pm("/AtouchApp").Acx;
var nWID = 2005;
var nParam = 100;
var nState = oATC.NetGetData(nWID, nParam);
Dim oATC, nWID, nParam, nState
Set oATC = pMe.Pm("/AtouchApp").Acx
nWID = 2005
nParam = 100
nState = oATC.NetGetData(nWID, nParam)