DbServer.FieldStatus Method (Typed) | |
Return the status of a field after the last operation.
Namespace:
XSharp.VO.SDK
Assembly:
XSharp.VORDDClasses (in XSharp.VORDDClasses.dll) Version: 2.21
Syntax VIRTUAL METHOD FieldStatus(
uField AS USUAL
) AS HyperLabel
public override HyperLabel FieldStatus(
Usual uField
)
Request Example
View SourceParameters
- uField
- Type: Usual
The name, number, or symbol representing the desired field.
Return Value
Type:
HyperLabel
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.
Remarks
DBServer: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:
1oDBServer:FieldStatus(#LastName):Caption
2oDBServer:FieldStatus(#LastName):Description
3oDBServer:FieldStatus(#LastName):HelpContext
See Also