37
Answers

calling an element and multiplying from a double list

Hesham Hassanein

Hesham Hassanein

10y
1.1k
1
Sorry for repeating the question but I have read the references and I don't know why the output is not displayed. It should be something in the index because its giving me out of bounds.. but i don't know how to fix it.. Please have alook..

have a csv file MobileId;MenuTreeView;MenuName;MenuInfo;MenuAction
1042;MP_Menubaum;user_key1;user_key1;PressKey
1042;MP_Menubaum;Wait;1;Wait
1042;MP_Menubaum;TS:Coord;38%55%:0:0;TouchScreen
1042;MP_Menubaum;Wait;2;Wait
and I have the MenuInfo as a List and MenuAction as a List.
I want to get the 38 before the percentage sign in the MenuInfo List and Multiply it by the value called Length, Length is a double List that is defined in another Method..
and get the value 55 in the MenuInfo and multiply it by width (The same procedure as length)
This is what i have done but it gives me out of index....how can i multiply the right value in the L List

I uploaded the code
 

Answers (37)
0
alibasha syed
NA 41 24.1k 11y
Hi, I got the solution. The only solution to resolve these kind of issues(extra page issues in rdlc) is .... In the report designer, reduce the width of the table and report body. Keep this relation in mind: report body width must be <= (report width - report margins width). Ideally Report widht and height should be 8.5in and 11 In respectively.
0
alibasha syed
NA 41 24.1k 11y
Then please suggest me the alternate solution for my problem. Please reply as soon as possible.
0
Abhishek Sur
NA 3.4k 53.8k 11y
Hi Alibasha, 

The problem is every subreport control has an implicit KeepTogether property which tries to keep the content of the subreport together inside the page. This has a problem.

Say your subreport 1 tries to keep everything inside the page, but cannot find the space enough to show everything. It then go ahead and keep this page blank and write everything on a new separate page. This is a known bug in SQL server reporting service. So it is recommended to avoid using subreport inside rdl files to support continuous printing.