Classes

Method OdbcManager():createDSNDialog() Professional

Displays a wizard dialog to create a DSN.

Syntax
:createDSNDialog([<oParent>], [<cDsn>]) --> lSuccess
Parameters
<oParent>
The optional parameter <oParent> is the parent of dialogs used by other methods of this class. The default value is the return value of SetAppWindow().
<cDSN>
The name of the DSN to be created.
Return

Returns .T. if the data source could be created successfully. If .F. is returned, call :getLastError() to retrieve extended error information.

Description

As an alternative to calling :addUserDSN(), a new DSN can be created interactively by the user calling :createDSNdialog().

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.