PutWithoutVerification

ACCPAC Common Controls

AccpacViewField.PutWithoutVerification

Sets a new value to the field without validation.

Sub PutWithoutVerification(pNewVal As Variant)

Parameters

pNewVal

[in] the new value to be stored in the field

The data type of the new value must be compatible with the field type.

Remarks

This new value is not validated by the view.

Example

The following example stores the value "Monthly average rate" in the RATEDESC field without verifying its integrity, for the rate type "AV".
 

Dim CSRATETYPS1 As AccpacCOMAPI.AccpacView

mDBLinkSysRW.OpenView "CS0004", CSRATETYPS1

Dim CSRATETYPS1Fields As AccpacCOMAPI.AccpacViewFields

Set CSRATETYPS1Fields = CSRATETYPS1.Fields

CSRATETYPS1Fields("RATETYPE").Value = "AV"

CSRATETYPS1Fields("RATEDESC").PutWithoutVerification_ "Monthly average rate"

CSRATETYPS1.Insert