<< Click to Display Table of Contents >>
This method allows you to specify SQL connections for RP to use.
|oConnection||The connection to add to the list of available connections.|
This new method is available in the Rp2Sql32 and Rp2Dsn32 libraries. It allows you to specify a SQL connection for RP to use. You can specify more than one by repeated calls to this method. At runtime, RP checks the list of connections it has built to see if one exists with the same data source that is need by the rpSQLQuery class. If a connection is found, it uses that connection instead of opening a new one.
// Set a connection