Ivan George Borges (12/15/2008)
Well, I think I haven't understood what you mean. When you det your BOs ready for printing, I assume the next step would be to run the Report. How would anything change at this time?My report looks like this:
1stInvoiceTheUserChecked------------------------
INVOICE# and stuff...
INVOICE POSITION 1,
INVOICE POSITION 2...
2ndInvoiceTheUserChecked------------------------
INVOICE# and stuff...
INVOICE POSITION 1,
INVOICE POSITION 2,
INVOICE POSITION 3...
and so on.
So in my ParentBO i have all the invoices the user checked for appearance on the report. In the ChildBO -currently- i have all positions of thoose checked invoices.
Instead, what i would like is that when the repot engine renders the 2nd invoice, it would trigger something on the bo, so that the child bo only ever carries the thoose child records relative to the currently rendering invoice.
I got the impression that by using FillByParentPrimaryKey as you suggested instead of using FillMultipleDataTables and then set a filter, this would be possible. But for that to work, the childbo would need to update its records once the currently-being-rendered-invoice changes.
I hope that was not too terribly explained