RTC - body
textbox name : A
textbox value : Sum(fields!ABC.Value)
textbox name : G
textbox value : < here i want to refer A >
without placing Sum(fields!ABC.Value), i need to refer textbox A, and get the textbox value.
how to do that?
more ex;
i can refer A in Header like ReportItems!A.Value know, like that, is there any way?
you can use ReportItems also in the body. And you can do calculation on values called from the other textbox.
You have to pay attention to the grouping because you can "call" only a textbox on the same level of grouping or a textbox "grouper".
you can use ReportItems also in the body. And you can do calculation on values called from the other textbox. You have to pay attention to the grouping because you can "call" only a textbox on the same level of grouping or a textbox "grouper".
This is the error that refers to what I said you in my previous post.
The error doesn't say "You can't use ReportItems" it's only a problem of report structure (read carefully the error).
If you create 2 textboxes and call the second from the first with ReportItems!SecondName.Value you will see that ReporItems works.
After this you have to change your report's design in order to obtain what you want.
correct, can use in same group, but cannot use out of it.
:-k another suggestion... you could try to save the value in a global variable and then use this variable for your calculation (VB script function directly in VS).
Answers
Are you a technical person or customer?
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
im a technical person
RTC - body
textbox name : A
textbox value : Sum(fields!ABC.Value)
textbox name : G
textbox value : < here i want to refer A >
without placing Sum(fields!ABC.Value), i need to refer textbox A, and get the textbox value.
how to do that?
more ex;
i can refer A in Header like ReportItems!A.Value know, like that, is there any way?
ERP Consultant - MS Dynamics NAV
https://lk.linkedin.com/pub/lakshan-vindana-kulawansa/37/2a2/592
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
1. if put Sum(Last(Fields!ABC.Value)), then it wont work.
2. i have another calculation
are you clear with my issue ?
ERP Consultant - MS Dynamics NAV
https://lk.linkedin.com/pub/lakshan-vindana-kulawansa/37/2a2/592
I dont think you can refer the value with text box name..
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
thanks Mohana
:thumbsup:
ERP Consultant - MS Dynamics NAV
https://lk.linkedin.com/pub/lakshan-vindana-kulawansa/37/2a2/592
you can use ReportItems also in the body. And you can do calculation on values called from the other textbox.
You have to pay attention to the grouping because you can "call" only a textbox on the same level of grouping or a textbox "grouper".
It works as expected... More or Less...
ERP Consultant - MS Dynamics NAV
https://lk.linkedin.com/pub/lakshan-vindana-kulawansa/37/2a2/592
MyDecField.Value = 123,00
TextboxA = Fields!MyDecField.Value
TextboxB = ReportItems!TextboxA.Value + 2
in TextboxB you will have 125.00
Is this what you ask?
It works as expected... More or Less...
cannot use REPORTITEM in report body, this is the issue
ERP Consultant - MS Dynamics NAV
https://lk.linkedin.com/pub/lakshan-vindana-kulawansa/37/2a2/592
Are you sure? Because before suggesting it I tried and it works for me.
Could you post a screenshot of what you've tried so far?
It works as expected... More or Less...
ERP Consultant - MS Dynamics NAV
https://lk.linkedin.com/pub/lakshan-vindana-kulawansa/37/2a2/592
This is the error that refers to what I said you in my previous post.
The error doesn't say "You can't use ReportItems" it's only a problem of report structure (read carefully the error).
If you create 2 textboxes and call the second from the first with ReportItems!SecondName.Value you will see that ReporItems works.
After this you have to change your report's design in order to obtain what you want.
It works as expected... More or Less...
ERP Consultant - MS Dynamics NAV
https://lk.linkedin.com/pub/lakshan-vindana-kulawansa/37/2a2/592
It works as expected... More or Less...