Click or drag to resize

DbServer.CreateIndex Method

X#
Create an index file with an order in it.

Namespace:  VO
Assembly:  VORDDClasses (in VORDDClasses.dll) Version: 2.19
Syntax
 VIRTUAL METHOD CreateIndex(
	oFSIndex,
	cExpr,
	cbExpr,
	lUnique
) AS USUAL CLIPPER
Request Example View Source

Parameters

oFSIndex (Optional)
Type: Usual
A string or filespec object that specifies the name of the index file to be created.
cExpr (Optional)
Type: Usual
The indexing expression.
cbExpr (Optional)
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 (Optional)
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