Add PreferExternalValue to control which value will be the final value

This commit is contained in:
Jonathan Jenne
2022-05-03 15:32:35 +02:00
parent 5fe4079028
commit 5accfbe002
6 changed files with 84 additions and 46 deletions

View File

@@ -184,11 +184,10 @@ Public Class frmRowEditor
'End If
' 03.12.21: For now we always remove the error if ANYTHING changed about the field
'oFieldValue.Error = FieldErrorType.None
oFieldValue.Errors.Clear()
' Save the grid value to the Field
oFieldValue.Final = oValueFromGrid.Trim()
oFieldValue.SetValue("Final", oValueFromGrid.Trim())
If _DocumentRow.Fields.ContainsKey(oField.Key) Then
_DocumentRow.Fields.Item(oField.Key) = oFieldValue