Code: Select all
Master Datasource:
SELECT * FROM tblCustomer WHERE customerID=5
Code: Select all
Child Datasource:
SELECT * FROM tblEmployees
When this report is executed does it pull all of the records from tblEmployees and then filter based on Relation? Or will it connect to the database and only pull records from tblEmployee that match the master data's customerID?
From a performance standpoint, I don't want it pulling all of the records from tblEmployees. I can add the WHERE condition to the child datasource, but I wanted to see if that was necessary.