Deletes occurrences from a fieldint sm_i_doccur(char *field_name, int occurrence, int count);int sm_o_doccur(int field_number, int occurrence, int count);
- The field with the occurrences to delete.
- The first occurrence to delete in the array specified by
- The number of occurrences to delete, starting with
occurrence. If you supply a negative value, Panther inserts new occurrences above
occurrence, with the same restrictions that apply to sm_ioccur.
sm_o_doccurdelete data from
countoccurrences, starting with
occurrence. If the array is scrolling, Panther then deallocates
countoccurrences. Panther moves up data in the occurrences after the last-deleted occurrence to prevent gaps in the array.
countis equal to or greater than the number of allocated occurrences, Panther deletes all data from the array.
If other arrays are synchronized with this one,
sm_doccurperforms the same operation on them, provided their
clearing_protectproperty is set to
sm_doccurignores the target array's
You can use
sm_doccurto insert new occurrences in a field by supplying a negative value for
count. You can achieve the same effect with
This function is normally bound to the logical key DELL.