Multi-band at the same row

459 views
Skip to first unread message

mvg

unread,
May 11, 2013, 1:50:08 PM5/11/13
to fastreport_f...@googlegroups.com
Hello,

how can I put more than one band in the same row
------------------------------------------------  -----------------------------------------------
|             data band1                  | |           data band2                   | 
------------------------------------------------  -----------------------------------------------  

Setting multicolums I can only use one band follow the other but not at the same report row

Any help

best regards

Marcelo






Reinaldo Crespo

unread,
May 11, 2013, 2:48:52 PM5/11/13
to fastreport_f...@googlegroups.com
I think this is what you are looking for:


1. xxxxxx 1. yyyyyy
2.yyyyyyy
3.yyyyyyy

2. xxxxxx 1.yyyyyy
2.yyyyy


Right?  If so, that is called a subreport.  You will see samples on how to do subreports on the fastreports help manual.  In simple terms, all you do is to insert a sub-report component inside the data band.

You could also be asking to do vertical data bands?  

Hope that helps.


Reinaldo Crespo-Bazán



--
You received this message because you are subscribed to the Google Groups "FastReport for [x]Harbour, Alaska Xbase++, Visual FoxPro" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fastreport_for_x_h...@googlegroups.com.
To post to this group, send email to fastreport_f...@googlegroups.com.
Visit this group at http://groups.google.com/group/fastreport_for_x_harbour?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

mvg

unread,
May 11, 2013, 5:33:42 PM5/11/13
to fastreport_f...@googlegroups.com
Reinaldo,

thanks for response, maybe I did not clear, what I want is to have independent MasterData Band starting at the same row, the problem is FR not permit to have Band with WIDTH less that the page width, then I can't put two band one beside other, the bands are defined sequentially, one first then the other, this is the band concept I think.

Will be useful for me, if when we defined multicolums report, the bands can be put in every column.

I will try subreport 

Thanks again

Marcelo 


El sábado, 11 de mayo de 2013 14:48:52 UTC-4, Reinaldo escribió:
I think this is what you are looking for:


1. xxxxxx 1. yyyyyy
2.yyyyyyy
3.yyyyyyy

2. xxxxxx 1.yyyyyy
2.yyyyy


Right?  If so, that is called a subreport.  You will see samples on how to do subreports on the fastreports help manual.  In simple terms, all you do is to insert a sub-report component inside the data band.

You could also be asking to do vertical data bands?  

Hope that helps.


Reinaldo Crespo-Bazán



On May 11, 2013, at 1:50 PM, mvg wrote:

Hello,

how can I put more than one band in the same row
------------------------------------------------  -----------------------------------------------
|             data band1                  | |           data band2                   | 
------------------------------------------------  -----------------------------------------------  

Setting multicolums I can only use one band follow the other but not at the same report row

Any help

best regards

Marcelo







--
You received this message because you are subscribed to the Google Groups "FastReport for [x]Harbour, Alaska Xbase++, Visual FoxPro" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fastreport_for_x_harbour+unsub...@googlegroups.com.

Reinaldo Crespo

unread,
May 12, 2013, 1:30:43 PM5/12/13
to fastreport_f...@googlegroups.com
On May 11, 2013, at 5:33 PM, mvg wrote:

Reinaldo,

thanks for response, maybe I did not clear, what I want is to have independent MasterData Band starting at the same row, the problem is FR not permit to have Band with WIDTH less that the page width, then I can't put two band one beside other, the bands are defined sequentially, one first then the other, this is the band concept I think.

There has to be reason you want to have two databands next to each other.  I think what we need to focus is on the final result you are looking for and not on how you wish to get there.  

Show us a diagram of what you wish to see on the report.   I'm already guessing you want two sub-reports next to each other inside a databand and have each sub-report list from different data sources:

For example:

Copy to email List Items sold on this order.
___________________ _________________________
1. cc email 1 1. Item 1
2. cc email 2 2. item 2
3. cc email 3 3. Item 3
.... 4. Item 4
No more customers. 5. Item 5
6. Item 6
7. Item 7.
...continue listing items.


You can get this with two different data sources on a single databand with two different subreports on it.  If this doesn't help you, pack your app and send it to me so that I can recreate the app and see if I can help with this report.

Take care,





Reinaldo.



To unsubscribe from this group and stop receiving emails from it, send an email to fastreport_for_x_h...@googlegroups.com.
Message has been deleted

mvg

unread,
May 15, 2013, 7:27:35 PM5/15/13
to fastreport_f...@googlegroups.com
Reinaldo,

thanks for the sample, I think you have clear my problem, but let me to add some request more, in base at your sample, what I need is:

Copy to email List Items sold on this order.
___________________ _________________________
1. cc email 1 1. Item 1
2. cc email 2 2. item 2
3. cc email 3 3. Item 3
.... 4. Item 4
No more customers. 5. Item 5
6. Item 6
Other data source (A) 7. Item 7.
___________________ ...continue listing items.
1 item1                                    
 2 item2..                                   Other data source more (B)
3........                                       ___________________
                                                  1 item 1
                                                  2 item 2
                                                  3 item 3 


How you can see, I need to have many data sources sharing the same space (rows), can I do this with subreports?
I think that the (A) data will start below the Items sold , not directly at end of emails list, I am wrong?

Muchas gracias por tu tiempo

saludos

Marcelo 

Reinaldo Crespo

unread,
May 15, 2013, 9:04:23 PM5/15/13
to fastreport_f...@googlegroups.com
Si.  Correcto.  Dentro de la banda crea un sub-report próximo a otro.  Luego colocas otro subrerport debajo del primero etc... y quedarán tal como muestras en tu diagrama.

Por ejemplo:

-----------------------------------------------------------------
MASTERDATABAND1

SubReport1 SubReport2
SubReport3 SubReport4

--------------------------------------------------------------------

No obstante, no pienso que necesitas ir por ese camino.  Yo creo que será mas sencillo insertar solo dos subreports.   Cada subreport puede contener múltiples databands.  Por lo tanto no creo que necesitas subreport3 o subreport4.  En vez subReport1 puede contener dos databands, el primero con su datasource y el segundo con su datasource.  Lo mismo con el subreport 2.  En esencia tendrías dos reportes independientes en columnas paralelas.   Yo estoy usando algo similar y me funciona perfectamente. 

Saludos,





Reinaldo Crespo-Bazán



On May 15, 2013, at 7:25 PM, mvg wrote:

Reinaldo,

thanks for the sample, I think you have clear my problem, but let me to add some request more, in base at your sample, what I need is:

Copy to email List Items sold on this order.
___________________ _________________________
1. cc email 1 1. Item 1
2. cc email 2 2. item 2
3. cc email 3 3. Item 3
.... 4. Item 4
No more customers. 5. Item 5
6. Item 6
Other data source (A) 7. Item 7.
___________________ ...continue listing items.
1 item1                                    
 2 item2..                                   Other data source more (B)
3........                                       ___________________
                                                  1 item 1
                                                  2 item 2
                                                  3 item 3 


How you can see, I need to have many data sources sharing the same space (rows), can I do this with subreports?
I think that the (A) data will start below the Items sold , not directly at end of emails list, I am wrong?

Muchas gracias por tu tiempo

saludos

Marcelo 


mvg

unread,
May 15, 2013, 10:45:19 PM5/15/13
to fastreport_f...@googlegroups.com
Reinaldo,

gracias, pienso que tienes razon, muchas gracias

saludos

Marcelo
Reply all
Reply to author
Forward
0 new messages