Classes

Method OdbcManager():configUserDSN() Professional

Configures (modifies) a user data source.

Syntax
:configUserDSN(<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 configured successfully. If .F. is returned, call :getLastError() to retrieve extended error information.

Description

This method configures a user data source by passing named attributed/value pairs.

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.