DbServer.CreateIndex Method | |
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
[ClipperCallingConventionAttribute(new string[] { ... })]
public virtual Usual CreateIndex(
Usual oFSIndex = default,
Usual cExpr = default,
Usual cbExpr = default,
Usual lUnique = default
)
Request Example
View SourceParameters
- 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