Hi All, I know there some other topics on here about random selections but mine is a little more complicated so hope for some advice!
I have to produce a report that has 120 records appear in it, by selection. So on each details line I curently have the rnd() function and then sort on that number and select the top 120. However each record can belong to one of 9 areas (New York, Berlin, Las Vegas, London, etc...) and each time I run the report I have to pick three of these areas, so what I want to be able to do is for my report to divide the 120 records by the number of areas (3) and then give me 40 random records for each of the areas.
Is this possible?
Thanks.
David.
I have to produce a report that has 120 records appear in it, by selection. So on each details line I curently have the rnd() function and then sort on that number and select the top 120. However each record can belong to one of 9 areas (New York, Berlin, Las Vegas, London, etc...) and each time I run the report I have to pick three of these areas, so what I want to be able to do is for my report to divide the 120 records by the number of areas (3) and then give me 40 random records for each of the areas.
Is this possible?
Thanks.
David.