SQLSelect.FieldStatus Method (Typed) | |
Return a hyperlabel object identifying the status after the last operation.
Namespace:
XSharp.VO.SDK
Assembly:
XSharp.VOSQLClasses (in XSharp.VOSQLClasses.dll) Version: 2.21
Syntax VIRTUAL METHOD FieldStatus(
uFieldPos AS USUAL
) AS HyperLabel
public override HyperLabel FieldStatus(
Usual uFieldPos
)
Request Example
View SourceParameters
- 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:
1oServer:FieldStatus(#LastName):Caption
2oServer:FieldStatus(#LastName):Description
3oServer:FieldStatus(#LastName):HelpContext
See Also