Re: Delphi 5 <> ADO
- From: "Arnie" <NoOne@xxxxxxxx>
- Date: Mon, 29 Jan 2007 11:57:56 -0500
"Paul Meyer" <greenmile27@xxxxxx> wrote in message
news:epl5rg$p78$00$1@xxxxxxxxxxxxxxxxxxxx
Hello NG,
i use ADO 2.8 in my Delphi 5 application to connect to SQL-Server 2000.
All
works fine, but now i've to support Oracle 9i. The ADO-Connection (.UDL)
works, but if i try to connect, my Delphi want "TAutoInc" field, but
Oracle
give me only float. Delphi want Boolean, but i Oracle give me a float.
Every
field Oracle gives, is a float. Is this an error into ADO, Oracle or
Delphi? Is there
short way to solve this problem or do i need to swith to other components
<>
ADO?
It's not ADO, it's Oracle.
It sounds like you are talking about persistent fields from your
description above. Oracle only has a few basic datatypes: CHAR, VARCHAR2,
NUMBER and DATE. Yes, there are also BLOBs and you can define your own
objects.
NUMBER is a float and it is the ONLY numerical data type. Therefore,
anything based on the NUMBER datatype will always return a field type of
TFloatField.
I don't know of any 'automatic' way around it.
- Arnie
.
- Follow-Ups:
- Re: Delphi 5 <> ADO
- From: Paul Meyer
- Re: Delphi 5 <> ADO
- References:
- Delphi 5 <> ADO
- From: Paul Meyer
- Delphi 5 <> ADO
- Prev by Date: Re: Delphi 5 <> ADO
- Next by Date: Re: Ado Query and Screen.Cursor
- Previous by thread: Re: Delphi 5 <> ADO
- Next by thread: Re: Delphi 5 <> ADO
- Index(es):
Relevant Pages
|