Board index » delphi » Filter on Lookup Field or Calculated Field

Filter on Lookup Field or Calculated Field

I used TTable to open and display data on Grid.
Is there any way to do filtering on Lookup Field or Calculated Field ?
Thanks.
 

Re:Filter on Lookup Field or Calculated Field


Yes, write your own filter in the OnFilterRecord event.

"evi" <[email protected]> schreef in bericht
news:[email protected]

Quote
> I used TTable to open and display data on Grid.
> Is there any way to do filtering on Lookup Field or Calculated Field ?
> Thanks.

Re:Filter on Lookup Field or Calculated Field


Hello, "M.H. Avegaart" <[email protected]>! You wrote:
Quote
> Yes, write your own filter in the OnFilterRecord event.

    It will not work with calcualted fields because they will be calculated
after an OnFilterRecord event will be fired.

Quote

> "evi" <[email protected]> schreef in bericht
> news:[email protected]
> > I used TTable to open and display data on Grid.
> > Is there any way to do filtering on Lookup Field or Calculated Field ?
> > Thanks.

--
    Evgeny V. Levashov, software developer,
    ICQ UIN 34864288
    Mebel Massiv Co, Tula, Russia
    http://home.tula.net/mebelmassiv

Other Threads