I have my report working (mostly) nicely with Telerik ORM (ignoring that the report Preview has a heart attack 50% of the time).
I have two Open Access Data Sources.
oadsOrders = Main data, 1 record per page.
oadsOrderItems = Order detail, many per Order, displayed in a report table.
See screenshots:
report.png = report designer.
mass 2.jpg = screenshot showing how I oadsOrderItems is populated using parameter from oadsOrders
Problem:
I need to show report order total, ie sum(orderItem.amount) though I can't figure a good way to do this.
Telerik report doesn't navigate into 1-N relationships it seems, so I can't tell it to aggregate like this sum(Order.OrderItems.amount) .
I can use custom functions, but they are static and don't know about reportItem, nor could I seem to pass that in properly - it didn't recognise the function.
Do I have to create ANOTHER datasource so that values from OrderItems can be aggreated? Seems like overkill to me..
Thanks,
Pat.
I have two Open Access Data Sources.
oadsOrders = Main data, 1 record per page.
oadsOrderItems = Order detail, many per Order, displayed in a report table.
See screenshots:
report.png = report designer.
mass 2.jpg = screenshot showing how I oadsOrderItems is populated using parameter from oadsOrders
Problem:
I need to show report order total, ie sum(orderItem.amount) though I can't figure a good way to do this.
Telerik report doesn't navigate into 1-N relationships it seems, so I can't tell it to aggregate like this sum(Order.OrderItems.amount) .
I can use custom functions, but they are static and don't know about reportItem, nor could I seem to pass that in properly - it didn't recognise the function.
Do I have to create ANOTHER datasource so that values from OrderItems can be aggreated? Seems like overkill to me..
Thanks,
Pat.