作者:admin 来源: 日期:2020/9/6 23:50:18 人气: 标签:
FirDAC 对 SQLite 数字, int64也会被截断,会出现负数情况处理FirDAC 对 SQLite 数字, int64也会被截断,会出现负数情况处理 先用以下方法设置一下
var MR: TFDMapRule;begin FDQuery1.FormatOptions.OwnMapRules:= True; MR:= FDQuery1.FormatOptions.MapRules.Add; MR.SourceDataType:= dtInt32; MR.TargetDataType:= dtInt32;
继续其它代码操作
end;
来源:http://www.delphifmx.com/node/83