Partilhar via


FormDataSource.markRecord Method

Definition

Overloads

markRecord(Object)

Marks the specified record by using the specified mark value.

markRecord(Object, Int32)

markRecord(Object)

Marks the specified record by using the specified mark value.

public:
 virtual int markRecord(System::Object ^ obj1);
public virtual int markRecord (object obj1);
abstract member markRecord : obj -> int
override this.markRecord : obj -> int
Public Overridable Function markRecord (obj1 As Object) As Integer

Parameters

obj1
Object

Returns

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.

Applies to

markRecord(Object, Int32)

public:
 virtual int markRecord(System::Object ^ _record, int _mark);
public virtual int markRecord (object _record, int _mark);
abstract member markRecord : obj * int -> int
override this.markRecord : obj * int -> int
Public Overridable Function markRecord (_record As Object, _mark As Integer) As Integer

Parameters

_record
Object

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.

_mark
Int32

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.

Returns

Applies to