SQLSelect.NoIVarPut Method (Typed) | |
Provide a general error interception that is automatically called (in any class) whenever an assignment reference is made to a non-existent exported instance variable.
Important! NoIVarPut() should not be called directly; it is called by the system for handling invalid references.
Namespace:
XSharp.VO.SDK
Assembly:
XSharp.VOSQLClasses (in XSharp.VOSQLClasses.dll) Version: 2.19
Syntax VIRTUAL METHOD NoIVarPut(
symVar AS USUAL,
uValue AS USUAL
) AS USUAL
public override Usual NoIVarPut(
Usual symVar,
Usual uValue
)
Request Example
View SourceParameters
- symVar
- Type: Usual
- uValue
- Type: Usual
The corresponding value to be assigned. uValue should be compatible with the column type.
Return Value
Type:
Usual
TRUE if successful; otherwise, FALSE.
Remarks
Sends a NotifyFieldChange message if the variable reference was to a valid column of the server, and the assignment was successful.
For SQLSelect, this method is used to intercept references to column names as exported variables, which ordinarily would not be allowed. If the column name is valid, it does a FieldPut() for the corresponding column name with the passed value, in effect turning table columns into Assign methods of each SQLSelect object. See "Objects, Classes, and Methods" in the Programmer's Guide for more information on NoIVarPut().
See Also