Telerik Forums
Reporting Forum
2 answers
521 views
I had a report that was working, successfuly using "= RunningValue("RptPoLines",Sum(1))" to yield a running line count.

I recently found some fields that were wrapping, causing my borders to "break". The solution appeared to convert from individual fields to a table. I got everything working with the table (inside a group) except for RunningValue.

The current expression (above) yields an 'Invalid scope:' error. The only scope that I have been able to use successfully is the table name (table1). This, however, yields a new count when the group changes.

Is there any way to get a running line count in tables within groups?

I am using Telerik Reporting Q2 2013 Version 7.1.13.612.

Thanks,
Larry
Larry
Top achievements
Rank 1
 answered on 26 Jul 2013
1 answer
116 views
I am connected to a SQL DataSource and I am using a stored procedure to populate all of the basic info for my report. All of my textbox fields are working great. I have about 5 checkboxes in the Categories section of my report. What would be the best way to show which ones should be check and not checked. I can't do it through my primary Entity because I have to pass in the CategoryID. CustomerCategories is the table all of the info is in. All of the primary info for my report is coming from the Customers table. (my Reports_CustomersGetList stored proc). Can anyone make an recommendations on how I can possibly use a function to do this?
Stef
Telerik team
 answered on 26 Jul 2013
1 answer
95 views
I have a requirement in reports that logo should only be displayed when the report is printed but not when it is displayed. What I have identified is 
  1. Place the logo and make the Visible = false
  2. Write the code that identifies when the report is printed and at that time make the logo property visible=true

I do not know what event or function I have to write my code in. does anyone has any idea?

Regards, 
Peter
Telerik team
 answered on 26 Jul 2013
1 answer
239 views
My footer has for value "Page " + PageNumber + " of " + PageCount.

When the report is rendered into a docx file the footer converts to Page 1 of 1.  This would be fine except when the document is edited which forces a second page.  The second page now also has Page 1 of 1.  Is there a way to force the formula "Page " + PageNumber + " of " + PageCount to the docx instead of the literal text.
IvanY
Telerik team
 answered on 26 Jul 2013
1 answer
1.3K+ views
Hi

I am having problems with setting the visibility of icons in my pdf reports.
I have placed the image of an icon in a column (pictureBox).  I set its default visibility to 'False'.  Then I use ConditionalFormatting to set the visibility with expression --

Expression               Operator            Value
Fields.HasFlags        =                        True

And in the Style section, I check the 'visible' box.

It seems to behave differently in two different reports even though the property is set in exactly the same way.  In one report, it shows up correctly; in the other it does not. 

Please help.
Thanks, Raka
Stef
Telerik team
 answered on 26 Jul 2013
1 answer
168 views
Hello,

Is there any way we can customize the Export Dialog so we can add OPEN button? Please see the attached image.

Please advise. Thanks in advance!
Squall
Top achievements
Rank 1
 answered on 26 Jul 2013
1 answer
317 views
I've been building a POS application for a restaurant/Bar. The design part is done and for the past month i've been coding it. Everything works fine except now i need to print. I have to print to a receipt printer connected to the computer running the software and later i'll try to print in a remote printer like a kitchen one.

Is it possible to print pay receipt using telerik Reporting tool. 
Peter
Telerik team
 answered on 25 Jul 2013
8 answers
1.1K+ views
I've got a report which consists of a crosstab used to present a weekly calendar of events.
The first issue I ran into was that with the crosstab in the Details section of the report, the entire thing repeated for each record in the data set.  (If I had 7 items in the data set, I'd get the full 40-item crosstab repeated 40 times.)

I solved that by moving the crosstab into a group header, figuring I'd add a label to say which group it was part of.  Unfortunately, now I'm getting the entire thing repeated once for each group, so now my 40-item crosstab is repeated 4 times.  That's 'better', but it's still not what I want.

I can deal with not having group headers, since the normal use-case for this particular report is to view it one group at a time, but it does need to be an option to see the data across all groups.  How can I either filter the results shown so that you only see one group's data at a time, or simply stop it from repeating for each group?
Irmgard
Top achievements
Rank 1
 answered on 25 Jul 2013
5 answers
184 views
Hello everybody,
While using Telerik Reporting, with the Silverlight Report Viewer interface, I noticed a few weird features. I searched on the forums & Internet, and didn't find anything. Thus, I'm not sure if those are known bugs or not.

1) Navigation Selection doesn't follow:
Let's begin with a demo http://demos.telerik.com/reporting/report-book/silverlight-demo.aspx 
When an item is selected in the navigation pane left (document map) it opens the right page. That is okay. But after that, when the blue arrows in the upper menu are used (First page, previous page, next page, last page), the selection of the navigation item doesn't change. It remains on the first item selected. Is that a bug? Is it possible to catch the event and change the selected item in the navigation pane? 

2) Direct printing document:
On the upper menu is a "Print report" Icon. With my report (which is around 50 pages), when that button is pressed, it shows the pop-up "Preparing to print ( x%)" like it should. But as the percent advance, the percents progressively get slower. It gets so slow that it never hits the 100%. Is there a work around for that? Or may it be possible to remove the "direct print" button from the viewer, so it can't be pressed?

3) Previous / next report buttons:
On the upper menu are 2 green buttons "Navigate back in history" and "Navigate forward in history". Those buttons are never used for my reports. Is it possible to remove them, so they can't be pressed? Because that fills the action bar with unused actions that may confuse some people.


Thanks in advance,
Raphael

PS: The Telerik Report versions Q3 2011 SP1


Gaurav
Top achievements
Rank 1
 answered on 25 Jul 2013
3 answers
750 views
I have this report, that use hierarchical instances of business objects (eg. Master details) as DataSource.
I display the entire tree using a system of report and sub-reports. Data is passed from the parent report to the child report by setting a Binding (using Report.Bindings property) on the "DataSource" property of the child report.

Now, I need to display the last leaf item "running count" or "row number" , in relation to the topmost report. I've tried to use the "RowNumber", "RunningValue", "Exec" functions to resolve my problem, but it keep giving me this "Invalid Scope" error for all functions. 

So in the details of my "leaf" report (3rd level of sub-report), I've tried use theses expressions  to display the "running count" of leaf items. No success. They all end up with an "InvalidScope" error.

1) =Exec("MasterReport",Count(1))
2) =RunningValue("MasterDetailSection", Count(Fields.Name))
3) =RowNumber("MasterReportName")
4) =RowNumber("MasterDetailSection")

Where:
- "MasterReport" is the value of the Report.Name property of my master report
- "MasterReportName" is the Name property of the DetailSection of the master report.

Can anyone help me with this ?
Stef
Telerik team
 answered on 25 Jul 2013
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?