Functions and Directives

Function OdbcAdmin() Professional

Displays the ODBC administrator dialog

Syntax
OdbcAdmin([<oParent>]) --> lSuccess
Parameters
<oParent>
The optional parameter <oParent> must be an XbasePart object which is used as the parent window of the dialog. The default parent is the desktop window.
Return

The function returns .T. if the dialog could be displayed successfully, .F. otherwise. In the case of .F. is being returned, an invalid parent was passed.

Description

ODBC data sources are managed by the ODBC administrator. The ODBC administrator dialog allows the user to create, edit and delete data sources, as well as configuring SQL tracing and other options interactively.

The ODBC administrator dialog cannot be used to select a DSN. Please read about ODBCDBE_PROMPT_MODE DbeInfo()how to select a DSN interactively.

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.