Now, as to your question, how familiar are you with the concept of stage variables? In my mind, the way to get the first X records from any group is to use stage variables to do group detection. Since they are evaulated from top to bottom, you can order them such that you can compare a current value...