TUniTable MasterSource / MasterFields properties
Posted: Fri 27 Jun 2014 06:37
Hello
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:
It doesn t work because i fetch all orders in order UniTable Object.
Is there a bug or something wrong in my code ?
Thanks
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