Method OdbcManager():addSystemDSN() Professional
Adds a system data source.
Syntax
:addSystemDSN(<cDriver>, <cAttr>) --> lSuccess
Parameters
<cDriver>
The name of the driver. Installed drivers can be obtained by calling :getDrivers().
<cAttr>
Data source attributes, in form of named attribute/value pairs: DBQ=test. The name of the data source must be passed as DSN=<cName>.
Return
Returns .T. if the data source could be added successfully. If .F. is returned, call :getLastError() to retrieve extended error information.
Description
This method adds a data source (DSN) to the group of system data sources. System data sources are accessible from every user. The DSN can later be used to connect to a database, using DacSession():new().
Feedback
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.