SetValue - HL7 Module - English - Foundation 22.1 - OnBase - Essential - Premier - Standard - external - Essential - Standard - Premier

HL7 Module

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

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.