GoToRecordNumberEx

ACCPAC Common Controls

AccpacView.GoToRecordNumber

Locates and retrieves the record identified by the supplied record number. This method is a network optimized version of GoToRecordNumber. It returns the field values of the requested fields.

Function GoToRecordNumberEx(
RecordNumber As Long,
FieldIDs As Variant,
Values As Variant) As Boolean

Parameters

RecordNumber

[in] record number that identifies the intended record

FieldID

[in] an array of field IDs representing fields for which the values should be returned if a record is successfully retrieved

Values

[out] returns an array of field values for the requested fields; returns Null if no record is retrieved

Return Value

Returns whether the intended record exists in the view and is retrieved. The return value is the same as GoToRecordNumber.

Remarks

This function first calls GoToRecordNumber (on RecordNumber), and then BlkGet to retrieve the field values.