Click or drag to resize

DbUseArea Function

Open a database file.

Namespace:  XSharp.RT
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.0
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

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