AccpacView.BlkPut
Changes the field values of multiple fields.
Sub BlkPut(
FieldIDs As Variant,
pValues As Variant,
Verify As Boolean)
Parameters
FieldIDs
[in] an array of 1-based field IDs representing the fields whose values should be changed
pValues
[in] an array of values to assign to the fields whose IDs are specified in FieldIDs
Verify
[in] whether the values are checked for integrity prior to being stored in the fields
Example
The following example puts the array values within the variable "Values"
into the BANK, NAME, and MULTICUR fields of view BK0001, without any verification.
Dim BKACCT1header As AccpacCOMAPI.AccpacView
mDBLinkCmpRW.OpenView "BK0001", BKACCT1header
Dim Values As Variant
Values = Array("BANKONE", "First City Bank", True)
BKACCT1header.BlkPut Array(1, 2, 17), Values,_ False