
DM API METHODS AND PROPERTIES 265
SetLibrary
SetLibrary
This method sets the DM library that is to be used with the current
instance of the PCDSQL object.
Syntax
PCDSQL.SetLibrary( strMyLibrary )
Parameter
Returns
Returns an HRESULT value. It always returns a value that indicates
SUCCESS, whether the library that is being set exists or not.
Usage
If an empty string is sent with the SetLibrary method, the user’s default
library becomes the target of subsequent SQL statements.
Example
The Example in the discussion of the PCDSQL object shows how you
can use this method.
Related Items
See the PCDSQL object.
See the following properties:
ErrDescription
ErrNumber
strMyLibrary A string variable that contains the name of the
library to use.
Comentarios a estos manuales