Equinox Online Help - Language Reference - A to Z

Home

UnmarkIndex

Applies to
SyntaxUnmarkIndex IndexName [, UserLoginNameExpression]
Action[Statement] Removes the current record from a query index.
ScopeUsable anywhere.
Notes

This statement removes any reference to the current record from the query index specified by IndexName.

If the UserLoginNameExpression is supplied, the index instance for that user is selected, rather than the one for the current user. This powerful feature allows different user record sets on the same index to be manipulated under program control. eg Workflow systems could pass tasks between members of a group.

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

Returns SysError = 1 if the user specified is not found.

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

In the following example, the query index called debtor is used to identify customers who have outstanding payments. The method removes the current record from the index, if there are no longer any outstanding payments.

If AmountDue = 0 Then UnmarkIndex debtor