Equinox Online Help - Language Reference - A to Z

Home

BlankIndex

Applies to
SyntaxBlankIndex IndexName [,UserName, NoInstance]
Action[Statement] Deletes all the entries for a query index.
ScopeUsable anywhere
Notes

Query indexes hold references to certain records. This statement (which must be in the appropriate sub table) deletes all references from the query index, IndexName and effectively empties it. If the UserName is supplied, the index instance for that user is emptied, rather than the one for the current user.

Blankindex has an additional optional parameter NoInstance which defaults to false and if true deletes the index instance if it exists, rather than creating it if necessary and deleting any index entries.

The system workarea SysError is set to a non-zero value if an error occurs, otherwise zero.

CategoryIndexes
See Also CopyIndex, CurrentIndex, GroupSetIndex, IndexFromName, IndexLastUsed, IsDuplicate, KeyValues, MakeKey, MarkIndex, ModifyIndex, NameFromIndex, SetExecuteIndex, SetIndex, UnmarkIndex, UpdateIndex
Example

The following example deletes all entries from a query index which is used to print letters to potential customers. Only new customers added to the index will receive letters when the index used next.

BlankIndex SendFlier