I want to filter an UniTable data from a foreign key value.
I tried Mastersource at MasterFields. I had to put a TDataSource.
For example, suppose a have a customer table and an order table.
I tried to do something like this:
Code: Select all
order.MasterSource:=customer_datasource;
order.masterFields:='customer_id';Is there a bug or something wrong in my code ?
Thanks