Sub-Report is just like a Many to One matching records, that is, many records for the master table.
Putting the sub-report in the Report Footer (RF), will always print the matching records (if any) for the last record for the master table. The logic will not work when putting the sub-report in the [RF] band. Take a look at the sample CustContInvoices (Report with 4 Sub-Reports) or CustomerContacts (Report with 2 Sub-Reports) included with RRBYW18 to understand the proper implementation of sub-reports. "Espero que ayuda" Con mucho gusto. Peter -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Juan Otazú Sent: Wednesday, April 23, 2014 2:35 PM To: RBASE-L Mailing List Subject: [RBASE-L] - Sub Report Hello everybody, I am tried to do a Report with Sub report.. but my sub report do not print. The main report work fine, I want the sub- report print at the end in the RF band, with a summary in other format.. using another temporary table but no show me this sub report printed. My main table is: Temporary Table: t_planobj No. Column Name Attributes --- ------------------ ------------------------------------------------------ 1 ruc_empresa Type : TEXT 15 2 grupo Type : TEXT 8 3 grupo_nombre Type : TEXT 30 4 marcod Type : TEXT 10 5 mardes Type : TEXT 30 6 marorden Type : INTEGER 7 vtaobj Type : CURRENCY 8 vtareal Type : CURRENCY Current number of rows: 23 And my slave table is: Temporary Table: t_tableroso No. Column Name Attributes --- ------------------ ------------------------------------------------------ 1 tipodoc Type : TEXT 1 2 ruc_empresa Type : TEXT 15 3 almacen Type : TEXT 30 4 proyecto Type : TEXT 30 5 canal Type : TEXT 30 6 cod_cliente Type : TEXT 15 7 cliente Type : TEXT 40 8 vtaobj Type : CURRENCY 9 vtareal Type : CURRENCY Current number of rows: 9 Only data to be printed in both table, but the sub report don't work. Any ideas? Gracias! Juan

