DefaultType Property

   Example   Applies To   Specifics

Sets or returns a value that indicates what type of workspace (Microsoft Jet or ODBCDirect) will be used by the next Workspace object created.

Settings And Return Values

The setting or return value is a Long that can be set to either of the following constants:

Constant Description
dbUseJet Creates Workspace objects connected to the Microsoft Jet database engine
dbUseODBC Creates Workspace objects connected to an ODBC data source

Remarks

The setting can be overridden for a single Workspace by setting the type argument to the CreateWorkspace method.