Data Relations do only in memory filtering
Posted: Fri Dec 12, 2008 4:06 pm
Hi,
I'm using a master-detail report and set the data relation between e.g. customer and order correctly.
Now when I run the report the report engine queries all the data from the child table and then does in memory filtering instead of using the relation information to only query the related child rows.
It shows up also in the query tracer from SQL Server that it loads the whole order table...
The problem is that my "order" table is about 400 MB as it contains images and a) it makes it very slow and b) it throws an out of memory exception.
How can I get around this please?
Thanks,
Patrick
I'm using a master-detail report and set the data relation between e.g. customer and order correctly.
Now when I run the report the report engine queries all the data from the child table and then does in memory filtering instead of using the relation information to only query the related child rows.
It shows up also in the query tracer from SQL Server that it loads the whole order table...
The problem is that my "order" table is about 400 MB as it contains images and a) it makes it very slow and b) it throws an out of memory exception.
How can I get around this please?
Thanks,
Patrick