02ddg03

02ddg03



& Visual Basic Help

File Edit Bookmark Opticns Help

Conlenls

Search

Print

CreateDatabase Method

SęeAJso Example    Applies T o

Creates anewDatabase object savesthe database on diskand returns an opened Database    —I

object.    —I

Syntax

Set database = workspace .CreateDatabase {databasename. focafe [. opt/ons ]) The CreateDatabase method syntax has these parts:

Part_Description_

database


workspace


databasename


/ocafe


opt/ons


A variable of an object data type that represents the Database object you're creating.

A variable of an object datatype that represents the existing Workspace object that will contain the database. Ifyouomitthe workspace part the default Workspace is used.

A stnng.exp.ressign.that is the name of the database file thatyou're creating. It can be the fuli path and filename, such as "C: \MYDB. MDB". If you don't supply afilename extension, .MDB is appended. If your network supports it you can ais o specify a network path, such as "\\MYSERVER\MYSHARE\MYDIR\MYDB" . Only .MDB database files can be created using this method.

A string expression used to specify collating order for creating the database. You must supply this argument or an error will occur. See the table that lists /oca/e constants later in this topie.

An integerthat indicates one or morę options, as specified in Settings. You can combine options by summing the corresponding constants.


d



Wyszukiwarka

Podobne podstrony:
02ddg03 & Visual Basic Help File Edit Bookmark Opticns Help Conlenls Search Print CreateDatab
f14 1 V* WEBSEARC - Microsoft Visual Basic [design] File Edit View insert Run lools Add-lns Help -W
f14 3 ^ WEBSEARC - Microsoft Visual Basic [run] File Edit View insert Run lools Add-lns Help(3 #i «
f15 5 ^ LINKCHK - Microsoft Visual Basic [design] File Edit View insert Run Jools Add-lns Help - «5
f15 8 WLINKCHK - Microsoft Visual Basic [run] File Edit View insert Run Jools Add-lns Help LI y
fig29 1 Project! - Microsoft Visual Basic [design] File Edit View insert Run Jools Add-lns Help 0
fig33 3 ^ 33proj01 - Microsoft Visual Basic [design] File Edit View insert Run Jools Add-lns Help Vi
fig33 4 ^ 33proj02 - Microsoft Visual Basic [run] File Edit View insert Run Jools Add-lns Help ^ 33p
fig33 5 ^ 33proj04 - Microsoft Visual Basic [run] File Edit View insert Run Jools Add-lns Help a ą &
fig34 2 j 34proj02 - Microsoft Visual Basic [run] File Edit View insert Run Jools Add-lns Help a &
fig34 5 Vt, 34proj04 - Microsoft Visual Basic [run] File Edit View insert Run Jools Add-lns Help a
17fig02 fe Microsoft Visual Basic [run] File Edit View Insert Run Jools Ądd-lns Help & □ CD J
11fg0019 Viewer - Microsoft Visual Basic [run] File Edit View insert Run Jools Add-lns Help & II
11fg0020 Viewer - Microsoft Visual Basic [design] File Edit View insert Run Jools Add-lns Help Bm M
11fg0022 Viewer - Microsoft Visual Basic [design] File Edit View insert Run Jools Add-lns Help o K

więcej podobnych podstron