short SetGlobalVariable(BSTR Name, BSTR Value)
Description
This function assigns a value to the specified global variable. This value is available for use in queries, forms, and procedures.
Parameters
Name | Description |
---|---|
Name | A string that contains the name of the variable that you want to set. |
Value | A string that contains the value that you want to assign to the variable. |
Return Value
The return value will be zero if successful or non-zero if unsuccessful. If the return value is non-zero, you can call GetLastErrorString() or GetLastErrorType() to get additional error information.
Related Tasks