Cmdlets for Microsoft Access

Build 24.0.9062

CreateNewDatabase Parameter (Connect-Access Cmdlet)

Specifies what format shoud be used by a new database file created when the file specified by connection property DataSource does not exist.

Syntax

Connect-Access -CreateNewDatabase string

Possible Values

No, 2003, 2007, 2010, 2016, 2019

Data Type

cstr

Default Value

"No"

Remarks

By default this is set to No, and an exception will be thrown instead of creating new database file.

When a new database file is created it's file name extension is forcibly specified to correspond to default file name extension used by respective database's format pointed by this property.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9062