Link to home
Create AccountLog in
Avatar of Star79
Star79Flag for United States of America

asked on

Limit Detail Rows Per Group in a Crystal Report

Hello All,
I have been asked to create a report but to only select the Top1record per group. Example I have grouped by drug and need to restrict the report to only select 1 dr attached to the drug. Any help with this will be greatly appreciated.
Thanks.
Avatar of peter57r
peter57r
Flag of United Kingdom of Great Britain and Northern Ireland image

Do you have a rule for choosing the one record you want or would it be any record in the group?
ASKER CERTIFIED SOLUTION
Avatar of Ido Millet
Ido Millet
Flag of United States of America image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of Mike McCracken
Mike McCracken

Agree with Ido.

There is also an option with groups (GROUP SORT EXPERT) for a TOP N report

mlmcc