Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Data Type Mismatch in ADO and ODAC

Status
Not open for further replies.

acabrera

Programmer
Jan 22, 2004
44
US
I encounter this data type mismatch error in my XP: "expecting: float, actual: integer" for both ADO and ODAC in Delphi 7 using Oracle 9i. The field, PROJ_KEY, is defined in Oracle as Number(8,0) but when I generate the persistent field PROJ_KEY, it is defined as FloatField. I did this for both ADO and ODAC and get the same result. I tried to change the definition to IntegerField but it won't let me.
 
I was able to solve my problem by recreating the query.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top