FormDataSource.markRecord Method [AX 2012]

Marks the specified record by using the specified mark value.

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.

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.

Community Additions

ADD
Show: