Page 1 of 1
Having issues with panels and databands
Posted: Thu Aug 25, 2011 8:42 am
by Brainstorm
Im having trouble with panels when using databands, the data is not being displayed in the correct order.
As you can see in the image bellow, the data is sent to the next row of execution instead of the current item:

The right most fields are doing a sum (Soma=Sum) of the green and red fields respectivelly.
I have already tried everything i know to make it show the sum properly, used a big panel with the small panels inside it, used another panel for the sum, re-creating the sum fields, using variables, everything gives me the same results.
Attached report:
http://dl.dropbox.com/u/34291967/tables.mrt
Having issues with panels and databands
Posted: Fri Aug 26, 2011 1:25 am
by HighAley
Hello.
Brainstorm wrote:Im having trouble with panels when using databands, the data is not being displayed in the correct order.
As you can see in the image bellow, the data is sent to the next row of execution instead of the current item:

The right most fields are doing a sum (Soma=Sum) of the green and red fields respectivelly.
I have already tried everything i know to make it show the sum properly, used a big panel with the small panels inside it, used another panel for the sum, re-creating the sum fields, using variables, everything gives me the same results.
Attached report:
http://dl.dropbox.com/u/34291967/tables.mrt
The values of text boxes are calculated in order as they are in the report tree.
Please, try to move Panel3 and Panel5 higher then Thex32 text box in the report tree.
Thank you.
Having issues with panels and databands
Posted: Fri Aug 26, 2011 6:24 am
by Brainstorm
The values of text boxes are calculated in order as they are in the report tree.
Please, try to move Panel3 and Panel5 higher then Thex32 text box in the report tree.
I realized it was related to the order they were being executed, the problem could be fixed temporarily when i deleted the sum boxes and made new ones, but as soon as i edited any of it's property, the problem came back.
But im unsure how to modify the report tree. Only place i could see it was on the property tab when browing the list of objects at the top (which had text32/etc bellow some panels).
EDIT
I figured out how to access it. But the sums are still giving wrong values here and there. Try it yourself.
Having issues with panels and databands
Posted: Fri Aug 26, 2011 7:51 am
by HighAley
Hello.
Brainstorm wrote:The values of text boxes are calculated in order as they are in the report tree.
Please, try to move Panel3 and Panel5 higher then Thex32 text box in the report tree.
I realized it was related to the order they were being executed, the problem could be fixed temporarily when i deleted the sum boxes and made new ones, but as soon as i edited any of it's property, the problem came back.
But im unsure how to modify the report tree. Only place i could see it was on the property tab when browing the list of objects at the top (which had text32/etc bellow some panels).
EDIT
I figured out how to access it. But the sums are still giving wrong values here and there. Try it yourself.
Please, try to drug and drop Panels higher then Text32 in the report tree.
Thank you.
Having issues with panels and databands
Posted: Fri Aug 26, 2011 7:53 am
by Brainstorm
EDIT2
I figured out the problem, the report tree is being reordered everytime i modify a property of one of the report objects (setting a font to bold for example). The text boxes will automatically go above the panels and cause errors on the Sum boxes.
The tree looks like:
Text
Text
Text
Panel
Panel
I put the panels above the texts and the sums work fine. But if i modify anything it will re-order back to texts before panels.
Having issues with panels and databands
Posted: Mon Aug 29, 2011 7:29 am
by HighAley
Hello.
Please, try to set Lock property of Text boxes and Panels to True.
Thank you.
Having issues with panels and databands
Posted: Mon Aug 29, 2011 9:07 am
by Brainstorm
Setting all their properties to Locked True solved the problem, thanks.
Having issues with panels and databands
Posted: Tue Aug 30, 2011 12:17 am
by Andrew
Hello,
Perfect.
Have a nice day!