FormDataSource.markRecord Method

Marks the specified record by using the specified mark value.

Syntax

public int markRecord(anytype record, [int mark])

Run On

Client

Parameters

  • record
    Type: anytype
    The record to mark.
  • mark
    Type: int
    The value that is associated with a marked record; optional. A value other than 0 (zero) causes the record to be displayed as marked in grids in the form.

Return Value

Type: int
A non-zero integer if the record has been marked.

Remarks

Use this method instead of the FormDataSource.mark method if the record has been found by using a select statement or a method call outside the form.

See Also

FormDataSource Class

FormDataSource.mark Method