Subject | Re: [IBO] Integer Field in Delphi |
---|---|
Author | Paul Hope |
Post date | 2003-08-28T10:01:39Z |
Hi Fabio
I think you can also use
if cursor1.fields[0].SQLTypeSource='INTEGER'
Regards
Paul
I think you can also use
if cursor1.fields[0].SQLTypeSource='INTEGER'
Regards
Paul
----- Original Message -----
From: "fabiopandin" <fabio.pandin@...>
To: <IBObjects@yahoogroups.com>
Sent: Wednesday, August 27, 2003 10:16 PM
Subject: [IBO] Integer Field in Delphi
> Hi all.
>
> I'd like to test in delphi (using TIB_Cursor or TIB_Query) if a
> Database (Firebird 1.5) field is an integer field like this:
>
> if cursor1.fields[0].IsInteger then...
>
> But the "IsInteger" is not available. I found IsNumeric but I can
> use it to test Integer fields or Float fieds?
> What do I use to test Integer fields?
>
> Thank You.
>
>
>
>
___________________________________________________________________________
> IB Objects - direct, complete, custom connectivity to Firebird or
InterBase
> without the need for BDE, ODBC or any other layer.
>
___________________________________________________________________________
> http://www.ibobjects.com - your IBO community resource for Tech Info
papers,
> keyword-searchable FAQ, community code contributions and more !
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>