> SELECT a.fecha, a.concepto,a.importe,a.val_cuota,; > IIF(!EMPTY(a.cuotas),RTRIM(a.cuotas)+ "/" + LTRIM(a.can_cuotas),ALLT(a.cuotas)),; > SUM(IIF(a.plan,a.val_cuota,a.importe)) AS n_impo; > FROM Master a ; > WHERE BETWEEN(a.fecha,dDateFrom,dDateTo) ; > OR a.plan = .T. ; > AND a.fecha <= dDateTo ; > AND a.cuotas <> a.can_cuotas ; > GROUP BY a.nro_oper ; > ORDER BY a.fecha ; > INTO CURSOR c_names >If I understand you right, you need to display all data collected into this cursor in the report. Then you need to SELECT the resulting cursor and run your report on it. In this case report fields should include only the field names from the cursor(without alias).