Click or drag to resize

DbServer.CreateIndex Method

Create an index file with an order in it.

Namespace:  VO
Assembly:  VORDDClasses (in VORDDClasses.dll) Version: 2.5
Syntax
 VIRTUAL METHOD CreateIndex(
	oFSIndex AS USUAL,
	cExpr AS USUAL,
	cbExpr AS USUAL,
	lUnique AS USUAL
) AS USUAL

Parameters

oFSIndex
Type: Usual
The name of the index file to be created.
cExpr
Type: Usual
The indexing expression.
cbExpr
Type: Usual
The indexing expression.  If a code block is provided, it should match the string expression; if a code block is not provided, one is created from the string expression.
lUnique
Type: Usual
Whether the index is unique.  If not specified, the default is determined by SetUnique().

Return Value

Type: Usual
TRUE if successful; otherwise, FALSE.
Remarks
Sends a NotifyIntentToMove message before the operation.  Sends a NotifyFileChange message upon completion.
See Also