InitPrimaryKeyFields

ACCPAC Common Controls

AccpacView.InitPrimaryKeyFields

Initializes the primary key field values of the current record with the primary key field values of the record specified by the supplied bookmark.

Sub InitPrimaryKeyFields(Bookmark)

Parameters

Bookmark

[in] bookmark of the record for which the primary key field values should be retrieved

Remarks

This method should be used before inserting records to views that use sequenced revision lists.