DbServer.CreateIndex Method (Typed) | |
Create an index file with an order in it.
Namespace:
XSharp.VO.SDK
Assembly:
XSharp.VORDDClasses (in XSharp.VORDDClasses.dll) Version: 2.19
Syntax VIRTUAL METHOD CreateIndex(
oFSIndex,
cExpr,
cbExpr,
lUnique
) AS LOGIC CLIPPER
[ClipperCallingConventionAttribute(new string[] { ... })]
public virtual bool 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:
Logic
TRUE if successful; otherwise, FALSE.
Remarks
Sends a NotifyIntentToMove message before the operation.
Sends a NotifyFileChange message upon completion.
See Also