Previous - dbOpen Section Home - Database Next - dbTableNames


dbProperties ( )

Obtains a list properties for the open connection

Usage:

dbProperties (object me)

Parameter:

None

Returns:

(Property List)
All property values are strings. The following property names could be in the property list:

Example:

xtRose = xtra("Rosetta").new( )
xtRose.dbOpen( "Provider=MSDASQL;ExtendedAnsiSQL=2;DRIVER={Microsoft Access Driver (*.mdb)};Dbq="&the moviepath&"main" )
put xtRose.dbProperties( )

Notes:

Use this handler to examine your connection properties and to determine if your connection was opened successfully. Not all properties are available to all data providers. For example, Microsoft Excel using a Jet provider will not have the #Driver_Name property.

If the connection string to open the connection is invalid or if the driver is not installed, an empty list is returned.


Previous - dbOpen Section Home - Database Next - dbTableNames