Difference of WorkSpace in VB4 and SetDefaultWorkSpace in VB3Last reviewed: March 5, 1996Article ID: Q147878 |
The information in this article applies to:
SUMMARY In Microsoft Visual Basic version 4.0 for Windows the DAO (Data Access Object) model was changed with the addition of WorkSpace objects. Thus you can now program the default Workspace(0) or work with multiple Workspaces. In Microsoft Visual Basic version 3.0 for Windows, you were only allowed to work with the default Workspace with the SetDefaultWorkSpace statement, mostly used for security purposes. Now, with this new addition in Visual Basic 4.0 you can use WorkSpace objects for improved Transaction support. This article demonstrates how to use the new WorkSpace object in Visual Basic 4.0 for Windows. MORE INFORMATION According to information from the Visual Basic Online Help, the description of the WorkSpace Object is as follows: A Workspace object defines a session for a user. It contains open databases and provides mechanisms for simultaneous transactions and for a secure workgroup. The Workspaces collection contains all active, unhidden Workspace objects of the DBEngine object. According to the Visual Basic Online help, you use the CreateWorkSpace method to create a new Workspace object.
Step-by-Step Example
|
Additional reference words: 4.00 vb4win vb432
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |