- 人气:
- 放大
- 缩小
- 二维码
- 赞赏
delphi FirDAC 对 SQLite 数字, int64也会被截断,会出现负数情况处理
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