Page 1 of 1

Fetch Object Attributes as single fields

Posted: Sun 11 Mar 2007 16:15
by jfudickar
Hi,

is there a way to fetch an object field as a list of single fields where each attribute results in a separate field.

Example : The object has three attributes : a, b, c

An i have a table with a column named obj

If i do a select obj from tab then the result dataset should have three columns obj.a, obj.b and obj.c

Same for arrays?

THis would be helpfull if you are using controls which don't support nested fields.

Greetings and thanks
Jens

Posted: Mon 12 Mar 2007 09:52
by Plash
When the ObjectView property of the TOraQuery component is False (by default), a separate field is created for each object attribute.