[AccessD] CreateWorkspace

Mark Whittinghill mwhittinghill at symphonyinfo.com
Mon Mar 3 12:20:01 CST 2003


Hi all,

  When creating a workspace object for a transaction, I used to always use:

Set ws = DBEngine.Workspaces(0)

 Then when I began doing nested transactions, I used this for the inner
transaction, as DBEngine.Workspaces(0) was already taken, and this inner
workspace could possibly be DBEngine.Workspaces(0) from a different context:

Set ws = CreateWorkspace("", "admin", "")   (assumes Jet security not used)

Is there any reason not to just always use the CreateWorkspace method?

Mark Whittinghill
Symphony Information Services
Minneapolis, Minnesota
Email: mark at symphonyinfo.com
Phone: 612-333-1311




More information about the AccessD mailing list