Page 1 of 1

optional lines in report

Posted: Tue Dec 11, 2012 5:46 pm
by Valtécio
Hi. I'd like some help, plz.

There a report that print a detail with optional lines. Only the first line is not optional.(DataBand1) There 5 groups to print.

A report's piece :
-------------------------------------------------------------------------------------------------------------------------------------------------------------------
NUMBER DATE VALUE <-Group Header>

11683221 07/12/2011 NAME: 00001-Angela Queiroz
ACOUNT: 1011-41 FAVORECIDO: CACIQUE TRANSPORTES LTDA. 78.143,16
DATE LOC: 28/12/2011
BAR CODE: 04574895465545458875466878962214122523012
11683222 07/12/2011 NAME: 00001-Angela Queiroz
ACOUNT: 1011-41 FAVORECIDO: CACIQUE TRANSPORTES LTDA. 78.143,16
first problem"***Stimul print this blank line but I need that the line below go to this line". i.e.There's no "DATE LOC" field with value to be printed
BAR CODE: 04574895465545458875466878962214122523012

second problem ***When the "FAVORECIDO" field is the same value, only the last line "BAR CODE" must be printed

Thx

Re: optional lines in report

Posted: Wed Dec 12, 2012 6:11 am
by Jan
Hello Valtécio,

Sorry we have troubles with understanding your problems. Can you illustrate your problems with some of screenshots?

Thank you.

Re: optional lines in report

Posted: Mon Dec 17, 2012 3:45 pm
by Valtécio
Hi again

follow/pursue:

The original:
1- quebra com erro.jpg
1- quebra com erro.jpg (268.38 KiB) Viewed 3105 times
and

how I wish.
2- quebra sem erro - how must be.jpg
2- quebra sem erro - how must be.jpg (252.53 KiB) Viewed 3105 times
I tried place this label and field into a panel2 to "Dados:" field and "Código de barras:" field into panel3. These panels are into panel1 with dock style = top. I did guess that will works, but didn't


Thx for Help

Re: optional lines in report

Posted: Mon Dec 17, 2012 5:11 pm
by Valtécio
... I had try use Next() and Previous() functions but these don't retry recur the registry's actual value, didn't the expected value.

Re: optional lines in report ((Almost there))

Posted: Mon Dec 17, 2012 6:20 pm
by Valtécio
almost get it.

[Dados:] label and field are inside of panel2; (line 2)
[Código de barras] label and field into a panel3; (line 3)

Panel2 and Panel3 are inside of Panel1 and property [doc Style] = true
Can Grow = true
Can Shrink = true

The panel3 is inside DataBand1 but this band keep the same height, despite [Can Grow] and [Can Shrink] = true, so stil exist one or two blank lines

maybe I forgot/didn't discovered some property?

Re: optional lines in report

Posted: Wed Dec 19, 2012 7:44 am
by HighAley
Hello.

Did you try to use Conditions to disable some Data Bands?

Thank you.

Re: optional lines in report

Posted: Wed Dec 19, 2012 1:51 pm
by Valtécio
Aleksey Andreyanov wrote:Hello.

Did you try to use Conditions to disable some Data Bands?

Thank you.
hi. thx for your attention. Yes I did.

Re: optional lines in report

Posted: Wed Dec 19, 2012 2:08 pm
by Valtécio
Hi Aleksey

I did found the problem, but the soluction...

At bottom from databand1 exists a horizontal line(almost hidden, but I need to use). this line don't go to up when the optional field above don't have data. so, stil exists a blank line.

I put this horizontal line at the top from Databand1. it was almost ok, almost because the last registry from the group dont have this last line that could be at the bottom.

The horizontal line doesn't have some properties to make go up when the optional fields doesn't have data.

thx again

Re: optional lines in report

Posted: Thu Dec 20, 2012 11:42 am
by HighAley
Hello.

Please, send us a sample report template to reproduce the issue for analysis.

Thank you.