Menu

#80 Correct ftString missed Size

Win32_only
open
nobody
5
2015-10-27
2015-10-27
No

Change AddSourceField; in TDBF.BatchMove... to correct missed size of ftString type;

Change AddSourceField to support ftCurrency ...

    case lSrcField.DataType of
      ftInteger,ftCurrency,ftFloat,ftBCD:
        FieldType := ftFloat;
      ftString,ftWideString,ftFixedChar:
      begin
        FieldType := ftString;
        Size := lSrcField.Size;
      end
    else
      FieldType := lSrcField.DataType;
    end;
1 Attachments

Discussion


Log in to post a comment.