TOraXMLField does not return proper FieldType

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
upscene
Posts: 306
Joined: Thu 19 Oct 2006 08:13

TOraXMLField does not return proper FieldType

Post by upscene » Tue 30 Mar 2010 10:40

Hi,

In Delphi 2009, I get returned "out of bounds (108)" on TOraXMLField.Datatype

This seems wrong.


With regards,

Martijn Tonies
Upscene Productions

bork
Devart Team
Posts: 649
Joined: Fri 12 Mar 2010 07:55

Post by bork » Wed 31 Mar 2010 09:49

Hello

Delphi enumeration TFieldType doesn't have field type for XML fields. So for these fields we use our own type that is not a member of the TFieldType enumeration. But we don't get situation when this type call error "out of bounds (108)". To resolve this issue we need to learn the lines of your code that result in arising this error.

upscene
Posts: 306
Joined: Thu 19 Oct 2006 08:13

Post by upscene » Wed 31 Mar 2010 09:57

bork wrote:Hello

Delphi enumeration TFieldType doesn't have field type for XML fields. So for these fields we use our own type that is not a member of the TFieldType enumeration. But we don't get situation when this type call error "out of bounds (108)". To resolve this issue we need to learn the lines of your code that result in arising this error.
Well, that's what the debugger shows me...

In my opinion, you should return -something- that is valid in Delphi TFieldType...

bork
Devart Team
Posts: 649
Joined: Fri 12 Mar 2010 07:55

Post by bork » Thu 01 Apr 2010 07:34

Sorry, we already know about this inconvenience. We are searching the ways to fix it.

Post Reply