Xbasic
SQL::ConnectionSetSyntaxHandlerScript Method
Syntax
V SetSyntaxHandlerScript(ScriptSource as C)
Arguments
- ScriptSourceCharacter
Character
Description
Assign a handler script for the connection to override the default behavior of some or all of the event functions below:
Discussion
The SetSyntaxHandlerScript() method assigns a handler script for the connection to override the default behavior of some or all of the event functions. This is an advanced topic. Note: Syntax generation functions return true if a statement has been created and false if it has not. Examples:
- GenerateAddUserStatement as L (UserName as C, Statement BYREF AS C)
- GenerateSelectStatement as L (TableInfo as SQL::TableInfo, Statement BYREF AS C)
See Also