Page 1 of 1

OraQuery

Posted: Fri 06 Nov 2009 13:22
by MagicMaggi
Hi Forum,

i want to configure the oraquery dynamically in code.
I set the SQL and now i want to configure the fields.
What should i do to get the fields defined in the SQL-Statement?

I only want to set things like width, visible a.s.o.

I did this before, but i dont know the way anymore...
which procedure do i have to call to get the Field Defs?

Any hint is welcome.

Greetings

Markus

Posted: Mon 09 Nov 2009 08:18
by Plash
Find the TDataSet.CreateFields procedure in the DB unit and copy it to your code.