Hi Ignacio, I have a function in my code that I just passed the dbf files and relations as parameters. Each dbf was added to report as DS. For dbf files that have relations, they were assigned to another DS (i.e., oDS:= :AddDbf(cAlias ,{"cAlias1->*","cAlias2->*"}). Since the ...