Thanks for your reply
But im still not quite there yet! Havent used this area of the LLBL API yet
I see that I can create a groupByCollection and add a having clause. Fine!
But i need a collection:
DonorcharacteristicCollection col = new DonorcharacteristicCollection();
which i somehow need to add both a select predicate AND the groupby predicate (with the having clause)
in a normal query i would get a LIST of Personid´s where the aggreate expressen was count = 2
So i somehow has to get a collection of DonorcharacteristicCollection
like col.getmulti(SelectPredicate, GroupByCollectionPredicate)
But only getScalar takes a groupbyCollection object which would result in one result which is wrong.
So. Can I both use a groupby, having AND a select predicate and get a collection thet represents this result?
Regards
Anders