AccpacView.PostEx
Commits any pending changes to the database. This method is a network optimized version of Post. It allows field values to be set to the view before the operation, and also returns the field values of the requested fields.
Sub PostEx(
PutFieldIDs As Variant,
PutFieldValues As Variant,
GetFieldIDs As Variant,
GetFieldValues As Variant)
Parameters
PutFieldIDs
[in] an array of field IDs representing the fields for which the values should first be modified before performing record fetching; the new values are specified in the PutFieldValues parameter
PutFieldValues
[in] an array of field values that should first be set to the view before performing record fetching; the values should appear in the array in the same order as the corresponding field IDs specified in the PutFieldIDs parameter
GetFieldIDs
[out] returns an array of field IDs representing fields for which the values should be returned if a record is successfully retrieved
GetFieldValues
[out] returns an array of field values for the requested fields
Remarks
This method first calls BlkPut (on PutFieldValues), and then Post, and then BlkGet (into GetFieldValues) to retrieve the field values.