property Fields.Origin of a TQuery or TTable

Freature requests from users for ZeosLib's DBOs

Moderators: gto, cipto_kh, EgonHugeist, mdaems

Post Reply
digoni
Fresh Boarder
Fresh Boarder
Posts: 1
Joined: 18.06.2009, 04:02

property Fields.Origin of a TQuery or TTable

Post by digoni »

Hi ,

I use some functions that requires to know the table name of the field in a multiple table query.

Example:
SELECT a.ORDERNO,
a.CUSTID,
b.NAME
FROM ORDER a INNER JOIN CUSTOMER b
ON (b.CUSTID = a.CUSTID)

So it's possible to develop to auto-generate the Origin property of a field ?

In this example the auto-generate will do:
ORDER.ORDERNO
ORDER.CUSTID
CUSTOMER.NAME
to these 3 fields.

If you have another function that i can get this information (TABLE.FIELD) of a Field or a FieldDefs, please help me !!!

Thanks in advance !!

Rodrigo.
Post Reply