SetValue - HL7 Module - Foundation 23.1 - Foundation 23.1 - Ready - OnBase - Essential - Premier - Standard - external - Premier - Standard - Essential

HL7 Module

Platform
OnBase
Product
HL7 Module
Release
Foundation 23.1
License
Premier
Standard
Essential

This method sets the value of the current field.

blnSetFieldValue = objHL7Field.SetValue("New Value")
Note:

When called for a field, this method works only if the field does not have components. If the field has components, then SetValue will return true, but the components will not change. If the field has components, use the SetComponentValue method to set values for each component in the field.

Parameter

Type

Description

Value string

String

Replacement value for this field.

Return Value

Description

0

Returned if the value could not be changed.

1

Returned if the field exists and can be changed. If the original value and the new value exactly match (meaning the data did not change), then the return value will still be 1.