 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Mel Boulds Guest
|
Posted: Wed Oct 22, 2003 8:22 am Post subject: How do I convert AS/400 Packed fields into data-aware compon |
|
|
Using Delphi 5, I am trying to create an application which integrates two systems. To do this I have to access our AS/400 DB. I have a problem when data is stored on the AS/400 as Packed or Zoned data types. The Delphi components that I have simply return [Bytes]. How can I convert these into readable data within say a DBGrid component? When browsing the data using SQL Explorer the data appears to be okay, however pasting the same query into the TADOQuery component gives me the problems outlined above. I have even imported the Client Access ActiveX and attempted to use the Get_Bytes routine within the TPackedConverter component without success.
|
|
| Back to top |
|
 |
David Guest
|
Posted: Thu Oct 23, 2003 8:30 am Post subject: Re: How do I convert AS/400 Packed fields into data-aware co |
|
|
Mel Boulds <mel.boulds (AT) ricoh-rpl (DOT) com> wrote
| Quote: |
Using Delphi 5, I am trying to create an application which integrates two
systems. To do this I have to access our AS/400 DB. I have a problem when |
data is stored on the AS/400 as Packed or Zoned data types. The Delphi
components that I have simply return [Bytes]. How can I convert these into
readable data within say a DBGrid component? When browsing the data using
SQL Explorer the data appears to be okay, however pasting the same query
into the TADOQuery component gives me the problems outlined above. I have
even imported the Client Access ActiveX and attempted to use the Get_Bytes
routine within the TPackedConverter component without success.
Hi,
I have had terrible problems with Zoned and gave up.
However, I use tfloatfield with packed with complete success. Note: we are
using systemobjects delphi400 components though, but odbc from delphi 1 days
was the same.
David
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|