Sorting Master Band with Aggregate value in Details Band
Posted: Thu Oct 29, 2009 10:22 am
Hi,
Is it possible to sort a Master Band based on an aggregate value from its Detail Band?
Short Example:
Two datasources, Customer [Master] and Orders [Detail]
In the Master band for the Customer I display the customers details including their last order date using {MaxDate(DataOrders, Orders.OrderDate)}.
Can I then sort my Customer [Master] Band with this value too in a descending order? So that customers with latest orders will appear at the top.
Is it possible to sort a Master Band based on an aggregate value from its Detail Band?
Short Example:
Two datasources, Customer [Master] and Orders [Detail]
In the Master band for the Customer I display the customers details including their last order date using {MaxDate(DataOrders, Orders.OrderDate)}.
Can I then sort my Customer [Master] Band with this value too in a descending order? So that customers with latest orders will appear at the top.