Click or drag to resize

Functions.DbUseArea Method

Open a database file.

Namespace:  XSharp.RT
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.07
Syntax
 FUNCTION DbUseArea(
	 lNew AS USUAL,
	 xDriver AS USUAL,
	 cName AS USUAL,
	 cAlias AS USUAL,
	 lShare AS USUAL,
	 lReadOnly AS USUAL,
	 aStru AS USUAL,
	 cDelim AS USUAL,
	 aHidden AS USUAL
) AS LOGIC
View Source

Parameters

lNew
Type: __Usual
Open RDD in new workarea ?
xDriver
Type: __Usual
cName
Type: __Usual
Name of the (dbf) file to open
cAlias
Type: __Usual
Alias to use for the workarea
lShare
Type: __Usual
Should the file be opened shared ?
lReadOnly
Type: __Usual
Should the file be opened readonly ?
aStru
Type: __Usual
(Optional) An array containing field descriptions in the format returned by DBStruct().
Tip Tip
This argument does not apply to DBF files.
cDelim
Type: __Usual
(Optional) The delimiter for fields within a delimited database file.
Tip Tip
This argument does not apply to DBF files.
aHidden
Type: __Usual
(Optional) A one-dimensional array with the names of RDDs from which the main RDD inherits special functionality.

Return Value

Type: Boolean
TRUE if successful; otherwise, FALSE.
Remarks