FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour TDolphin TINYINT return Logical Value instead of Number
Posts: 1598
Joined: Fri Oct 07, 2005 05:56 PM
TDolphin TINYINT return Logical Value instead of Number
Posted: Mon Jul 06, 2015 04:39 AM

Dear All,

I try to get data from MySql via TDolphin and TINYINT(4) is not return number in database but return Logical Value (0=Fault otherwise=True).
Why does it got this value?

Thanks for any help.

Regards,

Dutch



FWH 2304 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio

FWPPC 10.02 / Harbour for PPC (FTDN)

ADS V.9 / MySql / MariaDB

R&R 12 Infinity / Crystal Report XI R2

(Thailand)
Posts: 682
Joined: Tue Feb 14, 2006 09:48 AM
Re: TDolphin TINYINT return Logical Value instead of Number
Posted: Mon Jul 06, 2015 07:59 AM
Code (fw): Select all Collapse
D_LogicalValue(.F.)


By default tiny int is managed like logical value, just insert a call to this function and will return numbers.
Saludos desde Mallorca
Biel Maimó
http://bielsys.blogspot.com/
Posts: 1598
Joined: Fri Oct 07, 2005 05:56 PM
Re: TDolphin TINYINT return Logical Value instead of Number
Posted: Mon Jul 06, 2015 10:37 AM

Dear Biel,

Thank you so much for your help.

Regards,

Dutch



FWH 2304 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio

FWPPC 10.02 / Harbour for PPC (FTDN)

ADS V.9 / MySql / MariaDB

R&R 12 Infinity / Crystal Report XI R2

(Thailand)

Continue the discussion