Click or drag to resize

SQLSelect.FieldStatus Method

X#
Return a hyperlabel object identifying the status after the last operation.

Namespace:  VO
Assembly:  VOSQLClasses (in VOSQLClasses.dll) Version: 2.21
Syntax
 VIRTUAL METHOD FieldStatus(
	uFieldPos
) AS USUAL CLIPPER
Request Example View Source

Parameters

uFieldPos (Optional)
Type: Usual
The name, number, or symbol representing the desired column.

Return Value

Type: Usual
Returns a hyperlabel object if any error condition had occurred or if a validation has failed, NIL if everything is OK, if the validation passed, or if there has been no validation attempt. In particular, SQLSelect:FieldStatus() can be used to find out more about a validation failure. By accessing the properties of this hyperlabel, you can retrieve not only a description but also context-sensitive help on the condition that was raised:
X#
1oServer:FieldStatus(#LastName):Caption
2oServer:FieldStatus(#LastName):Description
3oServer:FieldStatus(#LastName):HelpContext
See Also