Workspace Object
Collections
|
Property |
Type |
Version |
Description |
|---|---|---|---|
|
Connections |
Connections |
3.5 |
Collection of Connection objects |
|
Databases |
Databases |
3.0/3.5 |
Collection of open Database objects |
|
Groups |
Groups |
Collection of Group objects in a Workspace object | |
|
Users |
Users |
3.0/3.5 |
Collection of User objects for a Workspace object |
Methods
|
Method |
Parameters |
Returns |
Version |
Description |
|---|---|---|---|---|
|
BeginTrans |
Sub |
3.0/3.5 |
Begins a new transaction | |
|
Close |
Sub |
3.0/3.5 |
Close the Workspace object | |
|
CommitTrans |
Sub |
3.0/3.5 |
Ends the transaction and saves any changes | |
|
CreateDatabase |
Name As String, Connect As String, [Option] |
Database |
3.0/3.5 |
Creates a new Microsoft Jet database (.mdb) |
|
CreateGroup |
[Name], [PID] |
Group |
3.0/3.5 |
Creates a new Group object |
|
CreateUser |
[Name], [PID], [Password] |
User |
3.0/3.5 |
Creates a new User object |
|
OpenConnection |
Name As String, [Options], [ReadOnly], [Connect] |
Connection |
3.5 |
Opens a connection to a database |
|
OpenDatabase |
Name As String, [Exclusive], [ReadOnly], [Connect] |
Database |
3.0/3.5 |
Opens a database |
|
Rollback |
Sub |
3.0/3.5 |
Undoes any changes since the last BeginTrans |
Properties
|
Property |
Type |
Version |
Description |
|---|---|---|---|
|
DefaultCursorDriver |
Long |
3.5 |
Selects the ODBC cursor library |
|
IsolateODBCTrans |
Integer |
3.0/3.5 |
Indicates whether multiple transactions are isolated (ODBC only) |
|
LoginTimeout |
Long |
3.5 |
Number of seconds allowed for logging in to an ODBC database |
|
Name |
String |
3.0/3.5 |
Name of this Workspace object |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access