Hi
Reasonably new to CR. I have a report that is grouped by a PersonID displaying transactions sorted by the date descending. What I want to do is have the report display the 2 records with the most recent date. In Cyberquery you could put in a counter (sort of like a running count) and have record selection criteria where runningcount =< 2. Tried TopN but it only seemed to give the top 2 persons and all their transactions rather than every person with their 2 most recent transactions. I have tried different combinations of grouping summaries in the report. Any help would be appreciated. Sorry if it's a basic question.
Thanks in advance
ladporter
Reasonably new to CR. I have a report that is grouped by a PersonID displaying transactions sorted by the date descending. What I want to do is have the report display the 2 records with the most recent date. In Cyberquery you could put in a counter (sort of like a running count) and have record selection criteria where runningcount =< 2. Tried TopN but it only seemed to give the top 2 persons and all their transactions rather than every person with their 2 most recent transactions. I have tried different combinations of grouping summaries in the report. Any help would be appreciated. Sorry if it's a basic question.
Thanks in advance
ladporter