| Parameter | Description |
|---|---|
| bNotFindReq | If true, all item options are validated except findreq. If false, all item options are validated. |
Returns 0 if all items are valid, or else retrurns the first invalid item number.
Function Validate_Items Boolean bNotFindReq Returns Integer
| Call: | Get Validate_Items bNotFindReq to IntegerVariable |
The Validate_Items function validates all items and sends each entry_item's Item_Validate_msg. If any item fails to validate, validation testing stops, the object's current item is set to the item that failed the test, and that same item number is returned. If all items pass validation, zero is returned.
if not (Validate_Items(Self, 1)) send Save_Some_Data
In this example, all options specified on all entry items of the current object except findreq are validated to control sending Message save_some_data.