ODBCDatabase.Drivers

From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!
Method

ODBCDatabase.Drivers() As RowSet

Supported for all project types and targets.

Returns a RowSet with a list of configured ODBC drivers.

Notes

The instance of the ODBCDatabase does not have to be connected to a database in order to use this method.

The RowSet returned by DataSourceNames has two columns. They are:

  • Name: The driver name
  • Description: A description indicating if the driver is installed
  • Type: The type (for example, System).

Microsoft provides additional information about the SQLDrivers ODBC function.