InitEx

ACCPAC Common Controls

AccpacView.InitEx

Blanks, zeroes, or defaults (depending on the field type) the contents of each field in a view. This method is a network optimized version of Init. It allows field values to be set to the view before the operation, and also returns the field values of the requested fields, as well as the record number.

Sub InitEx(
FieldIDs As Variant,
Values As Variant,
RecNum As Long)

Parameters

FieldIDs

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

RecNum

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

Remarks

This method first calls Init, and then BlkGet to retrieve the field values. The record number is also retrieved.