RTC data flow Problem!!!
Amrit
Member Posts: 11
Hi.....
As i was creating the Report layout of a Report, there were some Datasetfieldname
for Eg: VATAmountLine__Line_Amount__Control100, which were not flowing from
classic to the RTC Report layout. ](*,)
Kindly help me out
As i was creating the Report layout of a Report, there were some Datasetfieldname
for Eg: VATAmountLine__Line_Amount__Control100, which were not flowing from
classic to the RTC Report layout. ](*,)
Kindly help me out
0
Comments
-
i'am not shure if this is the same problem you facing, but i noticed that, if you are using the same field in classic layout more then once (i.e amount) then the RTC layout only notice the first one, because there is no need to have the same field with the same value more then once!
as your field is named ...amount_Control100 this could be the case, because the first occurence of the field would bi without the "_control100" ending.0 -
Hi...
I have the prob. regarding the flow of the _control93 or whatsoever, as the datasetfieldname without control are flowing, but not the datasetfieldname with the _control93.....
I have tried it once by replacing the _control93 by any other name. Eg: _abc.
It get flows but in the manner shown below:
_abcformat
which doesn't support. That means the exact value is not fetched.0 -
as dev.ch said, if you have the same sourceexpr in the same section in the classic client, one of the two texbox is not flushed to rdlc layout because it is pointless (this is a documented feature).
the _abcformat you talked about is the format property of the textbox, it is flushed because that can be a significative value that you want to have in your dataset, altought this is arguable (e.g.: it probably have a special formatting that you want in the rdlc layout).
check your classic layout and eventually delete those "surplus" textboxes, if you don't need them0 -
Hi...
I agree =D> with ur point Belias that the txt boxes having the same source expr. cannot be differentiated at the rdlc end. But the two txt boxes are on different triggers, having different codes on there On Presection, so it is obvious that both of the txt boxes have to be passed, at the rdlc end, as both have differently visibility at different times as per the code written on their On Presection.
Is there any solution..... :idea:0 -
Could it be that you have like 2 body triggers of a the same dataItem?
For example: if you have a sales line and you have 2 body triggers which are shown on different conditions (bold text for type<>0 and normal for type = 0)
Is it such a situation? because if you have the same sourcexpr on 2 or more triggers of the same dataitem, it's the same as Belias & I mentioned.
Please provide more information about your situation. probably a screenshot of the layout in classic. Why do you have different output on the different triggers? Do you have code on the sections?0 -
He saiddeV.ch wrote:Why do you have different output on the different triggers? Do you have code on the sections?
i think that he has a textbox with the same sourceexpr (a variable for example) and he evaluates it in the onpresection.Belias wrote:having different codes on there On Presection
Code in the onpresection triggers is not executed during the rdlc rendering. Move the evaluation of the variable somewhere else (e.g. onaftergetrecord)0 -
Hi....
There are two TRIGGERS namely:
a)Service Invoice Line Groupfooter(1)
b)Service Invoice Line Footer(2)
These two triggers have the text boxes having the same sourcexpr, but having different
codes on their On Presections as shown below.
The footers textboxes have the datasetfieldname(_control33 or any other)of all txt boxes. The datasetfield name of it is not flowing in RTC.??????
2) The Code in the Grpfooter(1)'s on ONPRESECTION():
CurrReport.SHOWOUTPUT(NOT PrintAmountsInLCY);
3)The Code in the footer(2)'s on ONPRESECTION():
CurrReport.SHOWOUTPUT(PrintAmountsInLCY);
As u guess.... the same is the situation
There is an another Problem: :!:
As u all know that the code written on the On Pre section can be transferred in the RTC on the visibility section, can the code written on the On Post Section be transferred to the RTC on Visibility.0 -
Ok here you are, you have the same sourcexpr on sections of the same dataitem. this way you'll never get the data flow in the rtc layout, because it's useless, the textboces would always have the same values. This means you can use the DataSetField without the "_controlXX" name.
You should try to move your code from the OnPreSection / OnPostSection to a Trigger of the dataitem. You probably need to rethink your Report structure!
The Visiblity property can be used to replace the SHOWOUTPUT Function of classic report. There is now way to "move code" from the OnPostSection Trigger to RTC Layout. Can you post our OnPostSection Code?0 -
Even if you have the control on 2 sections, you can use the same datasetfieldname.
in the below case use intial datasetfieldname as SUM() in footer.
the code written in sections should be moved based on the requirement.
Onpost section code also need to be mmoved.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 322 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions
