Reference to a textoitem doesn't work
Posted: Wed Dec 30, 2009 9:47 am
Hi,
The following do work with version 2008.3.313 from 01.12.2008 but not with the current version 2010.1 from 28.12.2009:
I have several bands in my report and 2 pages. On the first page I show a textitem with a sum in it.
Like: Sum(PurchInvoice_GroupedItems.Amount)
I named it "Teilsumme".
On the second page I try to calculate with this item:
Sum(PurchInvoice_OtherItems.Amount)+
(TryDecimalParse(Teilsumme.Text)?decimal.Parse(Teilsumme.Text):0)
With the new version 20010.1 "Teilsumme" is empty.
With the old version 2008.3 "Teilsumme" contains the correct value.
If I try to use the sum direct (like Sum(PurchInvoice_OtherItems.Amount)+Sum(PurchInvoice_GroupedItems.Amount))
the value of Sum(PurchInvoice_GroupedItems.Amount) is doubled.
I hope you understand my problem.
What I also recognize in the new version is: If I doubleclick on a item it takes 5 seconds to open the dialog. The old version was much faster (1-2 sec).
Best regards
Ralf
The following do work with version 2008.3.313 from 01.12.2008 but not with the current version 2010.1 from 28.12.2009:
I have several bands in my report and 2 pages. On the first page I show a textitem with a sum in it.
Like: Sum(PurchInvoice_GroupedItems.Amount)
I named it "Teilsumme".
On the second page I try to calculate with this item:
Sum(PurchInvoice_OtherItems.Amount)+
(TryDecimalParse(Teilsumme.Text)?decimal.Parse(Teilsumme.Text):0)
With the new version 20010.1 "Teilsumme" is empty.
With the old version 2008.3 "Teilsumme" contains the correct value.
If I try to use the sum direct (like Sum(PurchInvoice_OtherItems.Amount)+Sum(PurchInvoice_GroupedItems.Amount))
the value of Sum(PurchInvoice_GroupedItems.Amount) is doubled.
I hope you understand my problem.
What I also recognize in the new version is: If I doubleclick on a item it takes 5 seconds to open the dialog. The old version was much faster (1-2 sec).
Best regards
Ralf