Since you want the subreport to print in the RF band, then I'm assuming you 
would
want your main report to print all the data, then you print all the rows from 
the
subreport table in the report footer, right?  I see that you have 3 common 
columns.  
Having your 2 tables have one common column is useful if you will locate your 
subreport in a BF band, but it screws things up if you're locating in a RF.

If I have a subreport that I want to print in an RF, I make sure that my 
subreport table has
NO common column names with the main table.   Try renaming the common columns
in the subreport table and see if all the data shows up.

Karen


 

 

-----Original Message-----
From: Juan Otazú <[email protected]>
To: RBASE-L Mailing List <[email protected]>
Sent: Wed, Apr 23, 2014 1:36 pm
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



 

Reply via email to