Subject | RE: [ib-support] Int64 problem |
---|---|
Author | Louis Kleiman |
Post date | 2002-07-12T18:56:54Z |
I don't believe that BDE supports Int64. If it does, my guess is that
it only works by using the InterBase 6.5 driver.
Louis Kleiman
SSTMS, Inc.
-----Original Message-----
From: Doug Chamberlin [mailto:DChamberlin@...]
Sent: Friday, July 12, 2002 2:31 PM
To: ib-support@yahoogroups.com
Subject: [ib-support] Int64 problem
I have a Firebird 1.0 database (using Dialect 3) with several fields
being
filled via generators. These fields are declared as NUMERIC(18,0) which
presumably means they are stored as 64-bit integers.
In my Delphi program I use a TTable to access all the TField objects.
For
the above described fields the TField.DataType comes through as ftBytes
with a TField.DataSize = 1. I expected at least the DataSize to be 8
(for 8
bytes).
Could it be the DataSize varies depending on the actual values which are
stored? (I know the actual values are small at this point.)
Anyone else see this? Anyone know how to get the Int64 value from the
field? TField.AsInteger fails completely with an exception.
Using Delphi 5 with updates applied and BDE 5.2.
Yahoo! Groups Sponsor
<http://rd.yahoo.com/M=225674.2075964.3644785.1829184/D=egroupweb/S=1705
115386:HM/A=1153156/R=0/*http:/www.lensexpress.com/tracker/trackclick.as
px?Page=ACUVUE%202%20Colors&AffUrl=273&AffCode=14> Click here to visit
our exclusive feature of ACUVUE2 Colours at LensExpress.com!
To unsubscribe from this group, send an email to:
ib-support-unsubscribe@egroups.com
Your use of Yahoo! Groups is subject to the Yahoo!
<http://docs.yahoo.com/info/terms/> Terms of Service.
[Non-text portions of this message have been removed]
it only works by using the InterBase 6.5 driver.
Louis Kleiman
SSTMS, Inc.
-----Original Message-----
From: Doug Chamberlin [mailto:DChamberlin@...]
Sent: Friday, July 12, 2002 2:31 PM
To: ib-support@yahoogroups.com
Subject: [ib-support] Int64 problem
I have a Firebird 1.0 database (using Dialect 3) with several fields
being
filled via generators. These fields are declared as NUMERIC(18,0) which
presumably means they are stored as 64-bit integers.
In my Delphi program I use a TTable to access all the TField objects.
For
the above described fields the TField.DataType comes through as ftBytes
with a TField.DataSize = 1. I expected at least the DataSize to be 8
(for 8
bytes).
Could it be the DataSize varies depending on the actual values which are
stored? (I know the actual values are small at this point.)
Anyone else see this? Anyone know how to get the Int64 value from the
field? TField.AsInteger fails completely with an exception.
Using Delphi 5 with updates applied and BDE 5.2.
Yahoo! Groups Sponsor
<http://rd.yahoo.com/M=225674.2075964.3644785.1829184/D=egroupweb/S=1705
115386:HM/A=1153156/R=0/*http:/www.lensexpress.com/tracker/trackclick.as
px?Page=ACUVUE%202%20Colors&AffUrl=273&AffCode=14> Click here to visit
our exclusive feature of ACUVUE2 Colours at LensExpress.com!
To unsubscribe from this group, send an email to:
ib-support-unsubscribe@egroups.com
Your use of Yahoo! Groups is subject to the Yahoo!
<http://docs.yahoo.com/info/terms/> Terms of Service.
[Non-text portions of this message have been removed]