Page 1 of 1
tinyint value of field not correctly
Posted: Tue 07 Nov 2017 12:15
by yar
I run SQL by use component TUniQtuery
Select PaymentType from Document
Type field PaymentType - tinyint
Sometimes I get value of field not correctly
For example. instead 5 - -1000. instead 4 15000
Re: tinyint value of field not correctly
Posted: Wed 15 Nov 2017 07:23
by Stellar
To reproduce the issue, specify UniDAC version, Delphi version, what DBMS you are using, as well as the script to create the Document table.
Re: tinyint value of field not correctly
Posted: Mon 27 Nov 2017 16:37
by yar
Ttrial UniDAC 7.0.1
Delphi 7.0 Build 4.453
DB.SQL Anywhere 11
CREATE TABLE "DBA"."Document" (
"RecID" numeric(8,0) NOT NULL DEFAULT autoincrement
,"snPaymentType" tinyint NULL
,"dPayDate" "datetime" NULL
,PRIMARY KEY ("RecID" ASC)
)
go
Re: tinyint value of field not correctly
Posted: Thu 30 Nov 2017 11:05
by Stellar
Thank you for the information. We have reproduced this issue and fixed it. This fix will be included in the next UniDAC build.