OnValidateData

Checks the data read from a record before further processing. In the standard implementation, the data is considered valid; a derived implementation may perform additional validity checks.
Syntax
METHOD PROTECTED OnValidateData : BOOL
VAR_INPUT
nDataSet : UINT;
pTarget_Data : PVOID;
nTarget_Size : UDINT;
bParam : BOOL;
nParam : INT;
END_VAR
Inputs
|
Name |
Type |
Description |
|---|---|---|
|
nDataSet |
UINT |
Index of the record to be checked. |
|
pTarget_Data |
PVOID |
Address of the buffer containing the read data. |
|
nTarget_Size |
UDINT |
Size of the data buffer in bytes. |
|
bParam |
BOOL |
Optional parameter of |
|
nParam |
INT |
Optional numeric parameter from |