var
I64 : Int64;
begin
....
with SQLQuery1 do begin
SQLConnection.StartTransaction(TD);
Try
I64 := 123234598374;
ParamName('A').AsInteger := I64;
ExecSQL;
SQLConnection.Commit(TD);
Exception
SQLConnection.Rollback(TD);
End;
end;
end;
위와 같이 Delphi 7에서 dbExpress를 사용할때 Int64형 Field를 사용 할 수 있는 방법이 있는지 궁금합니다.
db는 Firebird를 사용하고 Bigint형 Field에 int64형 Data를 저장하면 모두 integer형으로 변환되어 엉뚱한
값이 저장되는군요.
그래서 Variant Type 인 Value 프로퍼티를 사용하니 Unsuported type 이란 메시지를 밷어 내는군요...
|