ResetRecordNumbers

ACCPAC Common Controls

AccpacView.ResetRecordNumbers

Resets all record numbers generated by the view. Record numbers will be regenerated the next time a method is called that moves the record pointer.

Sub ResetRecordNumbers()

Remarks

When UseRecordNumbering is enabled for the view, a record number is generated by the view whenever it fetches a record. An internal table is built that maps the record's bookmarks to the generated record numbers. This method resets the internal mapping table and forces the view to regenerate record numbers when subsequently fetching records.

This method should be used on detail views when changing the header view produces a different set of detail records.