SQLSelect.NoIVarPut Method | |
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:
VO
Assembly:
VOSQLClasses (in VOSQLClasses.dll) Version: 2.19
Syntax VIRTUAL METHOD NoIVarPut(
symFieldName,
uValue
) AS USUAL CLIPPER
[ClipperCallingConventionAttribute(new string[] { ... })]
public override Usual NoIVarPut(
Usual symFieldName = default,
Usual uValue = default
)
Request Example
View SourceParameters
- symFieldName (Optional)
- Type: Usual
The name, number, or symbol representing the desired column. - uValue (Optional)
- 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