Skip to content

Commit

Permalink
Updated TemplatePro
Browse files Browse the repository at this point in the history
  • Loading branch information
danieleteti committed Jan 30, 2025
1 parent 381a08b commit 74cda52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sources/TemplatePro.pas
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,7 @@ function TTProCompiledTemplate.GetDataSetFieldAsTValue(const aDataSet: TDataSet;
Result := lField.AsDateTime;
ftBoolean:
Result := lField.AsBoolean;
ftFMTBcd:
ftFMTBcd, ftBcd:
Result := TValue.From<TBCD>(lField.AsBCD);
else
Error('Invalid data type for field "%s": %s', [FieldName, TRttiEnumerationType.GetName<TFieldType>(lField.DataType)]);
Expand Down

0 comments on commit 74cda52

Please sign in to comment.