DbAcceptDatagram - method of the AtouchX object
Description:
Confirms received datagram.
The method confirms processing of the received datagram in the variable defined by the
WID.
Note: If the driver has another incoming datagram ready in its internal structures then the corresponding
DbDatagram event is triggered immediately.
Syntax:
Integer DbAcceptDatagram(Long WID)
Parameters:
WID | (Long) The WID of the database variable that is used as the receiving datagram variable and contains the incoming datagram to be acknowledged. |
---|
Example:
JavaScriptVBScriptSelect and copy to clipboard
var oATC = pMe.Pm("/AtouchApp").Acx;
var nWID = 2005;
var nState = oATC.DbAcceptDatagram(nWID);
Dim oATC, nWID, nState
Set oATC = pMe.Pm("/AtouchApp").Acx
nWID = 2005
nState = oATC.DbAcceptDatagram(nWID)