Board index » delphi » DBGrid columns!

DBGrid columns!

Hi!

In a DBGrid column I'm displaying a field from Table1 that has a LookUp to
Table2.

How can I display a field from Table2 insted of the field from Table1 in
this same dbgrid.

Darko Loncar

 

Re:DBGrid columns!


Quote
On Thu, 12 Nov 1998 14:56:50 +0100, "Darko" <lo...@bj.tel.hr> wrote:
>In a DBGrid column I'm displaying a field from Table1 that has a LookUp to
>Table2.

>How can I display a field from Table2 insted of the field from Table1 in
>this same dbgrid.

Use the fields editor and create a Field with FieldType ftLookup.  You
must then specify the LookupSource and LookupField.

Regards,

--
Marco Rocci
MicroEra srl
Turin, Italy

Other Threads