Click or drag to resize

SQLSelect.FieldStatus Method (Typed)

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

Namespace:  XSharp.VO.SDK
Assembly:  XSharp.VOSQLClasses (in XSharp.VOSQLClasses.dll) Version: 2.19
Syntax
 VIRTUAL METHOD FieldStatus(
	uFieldPos AS USUAL
) AS HyperLabel
Request Example View Source

Parameters

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

Return Value

Type: HyperLabel
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