Hi, Thank your for help, I tried this few days ago but it didn't work. In fact , rec2_COUNT returns the number of records. In my case i have a field in the subreport which can be displayed on several lines. In other terms i can have 30 lines for one record. I really don't know how to do :( Zac Post Edited by zac_developer at 04/21/2011 08:07