Page 1 of 2
Print horizontal line at bottom databand with optional lines
Posted: Thu Jan 17, 2013 12:47 pm
by Valtécio
Hi
I need some help to solve this issue:
I have a report with six GroupHeaderBands and yours respectives GroupFooterBands
There are a DataBand1 with DataSource configured to a Table... with 5 classifications fields
Important-> [Favorecido:] ; [Dados:] [Barcode:] are field's labels
There are a horizontal line at bottom of databand1 but the optional lines of fields that exists before are printed as blank line
Attached is the files to explain better.
thx since now
Re: Print horizontal line at bottom databand with optional l
Posted: Thu Jan 17, 2013 12:56 pm
by HighAley
Hello.
Sorry, maybe we did not exactly understand your question. Could you explain your issue in more details?
Do you need this line? Or you can't remove it?
Do you export report to txt file?
Thank you.
Re: Print horizontal line at bottom databand with optional l
Posted: Thu Jan 17, 2013 1:38 pm
by Valtécio
Hello
Sorry my basic of basic english. glup!
answering:
I need print this horizontal line that I puted at bottom of the DataBand1 (is not showing on this printscreen because I removed when pressed printscreen key. in second attached printscreen)
I do not need export, just print this report with height dynamic built of the databand
The height of databand1 need to be dynamic, dont printing blank line.
There are two files attached:
The second is showing hot I puted the fields in Stimul
{compromissos.favorecido} and {compromissos.pagamento} are both optional fields. ie. do not need print when values of fields are blank. but stimul print a blank line and after this horizontal line.
if the height of databand1 shrink accoplished when fields are not print will be ok.
The first printscreen file is Notepad++ is showing the errors and how do I need to print with correct.
Plz. pay attention on favorecido label, dados label and barcode label at each line. they are all optinal fields. and the error is when stimul print a blank line instead of disapear this field and up the field that are below.
mistakes of stimul( me !?)
error number 1
field Sistema ... (line 1)
field Favorecido: ...(line 2)
blank line -> error. this line must not exist because the value is blank (line 3)
horizontal line _________________________________ ... (line 4)
correct error number 1
field Sistema ... (line 1)
field favorecido: ...(line 2)
horizontal line _________________________________ ...(line 3)
***************************************************************************************************
error number 1
field Sistema ... (line 1)
blank line -> error. this line must not exist because the value is blank (line 2)
barcode: ...(line 3)
horizontal line _________________________________ ...(line 4)
correct error number 1
field Sistema ... (line 1)
barcode: ...(line 2)
horizontal line _________________________________ ...
***************************************************************************************************
error number 3
blank line -> error. this line must not exists because the value is blank (line 1)
blank line -> error. this line must not exists because the value is blank (line 2)
blank line -> error. this line must not exists because the value is blank (line 3)
horizontal line _________________________________ ...(line 4)
correct error number 3
horizontal line _________________________________ ...(line 1) line 4 turn line 1 at this point
thx
Re: Print horizontal line at bottom databand with optional l
Posted: Thu Jan 17, 2013 5:13 pm
by Valtécio
Hi Aleksey
I did some improvements in the report
I did use three panels: the main panel have the other two panels and I set the properties dock style to TOP and shrink to can do it
Its works perfectly, but only if i don't use the line at bottom of databand1, how you maybe can see in ScreenShot127.jpg.
but... always have a but...
When I put a horizontal line, the shrink doesn't works. as can you see at screenshots "File with horizontal line - error"
Re: Print horizontal line at bottom databand with optional l
Posted: Fri Jan 18, 2013 8:17 am
by HighAley
Hello.
Please send us your report template with sample data for analysis.
Thank you.
Re: Print horizontal line at bottom databand with optional l
Posted: Fri Jan 18, 2013 11:41 am
by Valtécio
Hello Aleksey
thx for your help
yours request attached:
Re: Print horizontal line at bottom databand with optional l
Posted: Fri Jan 18, 2013 1:24 pm
by HighAley
Hello.
Please, try to set the Shift Mode property of the HorizontalLinePrimitive2 to Increasing Size, Decreasing Size.
Thank you.
Re: Print horizontal line at bottom databand with optional l
Posted: Fri Jan 18, 2013 6:38 pm
by Valtécio
Hello
Didn't works. Still exists a blank line
Re: Print horizontal line at bottom databand with optional l
Posted: Mon Jan 21, 2013 11:55 am
by HighAley
Hello.
We can't connect your data to the report template.
Please, use the following code in the BeforePrint event of a page and sent us the files you get.
Code: Select all
{YourDataTableName}.DataTable.DataSet.WriteXml("e:\\data.xml");
{YourDataTableName}.DataTable.DataSet.WriteXmlSchema("e:\\data.xsd");
Thank you.
Re: Print horizontal line at bottom databand with optional l
Posted: Tue Jan 22, 2013 12:01 pm
by Valtécio
Hello
the files are attached
thx