Skip to content

Latest commit

 

History

History
42 lines (24 loc) · 1.87 KB

Access.Application.DefaultWorkspaceClone.md

File metadata and controls

42 lines (24 loc) · 1.87 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Application.DefaultWorkspaceClone method (Access)
vbaac10.chm12550
vbaac10.chm12550
Access.Application.DefaultWorkspaceClone
f72522e5-dd8d-2cd1-df40-4457ef7f94a6
02/05/2019
medium

Application.DefaultWorkspaceClone method (Access)

Use the DefaultWorkspaceClone method to create a new Workspace object without requiring the user to sign in again. For example, if you need to conduct two sets of transactions simultaneously in separate workspaces, you can use the DefaultWorkspaceClone method to create a second Workspace object with the same user name and password without prompting the user for this information again.

Syntax

expression.DefaultWorkspaceClone

expression A variable that represents an Application object.

Return value

Workspace

Remarks

Note

In Microsoft Access, the DefaultWorkspaceClone method is included in this version of Microsoft Access only for compatibility with previous versions using Data Access Object (DAO) language.

The DefaultWorkspaceClone method creates a clone of the default Workspace object in Microsoft Access. The properties of the Workspace object clone have settings identical to those of the default Workspace object, except for the Name property setting. For the default Workspace object, the value of the Name property is always #Default Workspace#. For the cloned Workspace object, it is #CloneAccess#.

The UserName property of the default Workspace object indicates the name under which the current user signed in. The Workspace object clone is equivalent to the Workspace object that would be created if the same user signed in again with the same password.

[!includeSupport and feedback]