GoToBookMarkEx

ACCPAC Common Controls

AccpacView.GoToBookMarkEx

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

Function GoToBookMarkEx(
pBookMark As Variant,
FieldIDs As Variant,
Values As Variant,
RecNum As Long) As Boolean

Parameters

pBookMark

[in] bookmark that identifies the intended record

FieldIDs

[in] an array of field IDs representing fields from 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

RecNum

[out] returns the record number if a record is retrieved

Return Value

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

Remarks

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