Telerik Forums
Reporting Forum
2 answers
116 views
Using Q3 2008 version

I have a report with a variety of user functions. These have worked fine. Today I made some changes in the functions so that they would take more parameters. After recompiling the report preview gives an error message "The expression contains undefined function call..." This is only on the functions that have the added parameters.

Also, and I figure this is related, none of the functions (working or broken) appear  in the "Edit Expression" Editor Instead I get "ReportsClassLib" and ReportsClassLib.My"

I have tried building, cleaning, and rebuilding the solution in various combinations but no luck. What should I try?

Thanks,

Matthew

Matthew Hile
Top achievements
Rank 1
 answered on 06 Mar 2009
4 answers
591 views
 I am using Visual Studio 2008 and Telerik Reporting Q3 2008 SP2.  We are using MySQL as the database backend.


I have pasted this in the query builder, which I can run in MySql with no problems(when I substitute the parameters for real data):

SELECT     oc.GroupOffense, uc.category, SUM(CASE WHEN i.CommittedDt > @StartDtThisYear THEN 1 ELSE 0 END) AS ArrestsYTD,
                      SUM(CASE WHEN i.CommittedDt BETWEEN @StartDtLASTYEAR AND @EndDtLastYear THEN 1 ELSE 0 END) AS ArrestsLastYTD
FROM         analytics_incident i JOIN
                      analytics_IncidentCrimeInfo ci ON ci.incidentid = i.incidentid JOIN
                      ucroffensecategory uc ON uc.categoryid = ci.ucr_crime_category JOIN
                      ucroffensecode oc ON oc.categoryid = uc.categoryid
WHERE     oc.GroupOffense = @GroupAB
GROUP BY oc.groupoffense, uc.category

and when I click on Execute Query it gives me this error:
SQL Execution Error.
Executed SQL Statement : SELECT     oc.GroupOffense, uc.category, SUM(CASE WHEN i.CommittedDt > @StartDtThisYear THEN 1 ELSE 0 END) AS ArrestsYTD,
                      SUM(CASE WHEN i.CommittedDt BETWEEN @StartDtLASTYEA...
Error Source: MySql.Data
Error Message: Fatal error encountered during command execution.

The sql statement runs fine in mySql so why not in the report?

THanks
Christel
Christel
Top achievements
Rank 1
 answered on 05 Mar 2009
0 answers
184 views

Hi
I need some help making a report design of this

*                                    Months
Project name                Jan    Feb    Mar    Apr    May    Jun    Aug    Sep    Okt    Nov    Dec
Project 1 fuse                *        *                            *         *         *
Project 2 start                         *        *                                        *        *
Clean rum something                                        *        *             *        *           *        *         *       
Make Asic design            *      *        *            *                

*                                    Days
Project name                1        2        3       4        5        6        7        8        9        10    11    ...    andso    ... 31
x1                                  *        *                            *         *         *
x2                                  *        *                                                *        *
x3                                  *        *        *        *        *        *            *        *
x4                                  *       *         *            *                

I know that there is a Gantt diagram and I thing that is the way to make it, but how ? I have to make this in programming not in design time, because the page size can be A4 or A3 or something else.


Janus S. Andersen



Janus Pedersen
Top achievements
Rank 2
 asked on 05 Mar 2009
1 answer
102 views
Hi Steve,

        We have purchased Telerik Reporting Tool from your website, i have downloaded the related softwares and documentation and source code. All works fine. But the issue which i am facing is that all source code are in C#, i kindly request you to send me the link where the source code will be available in vb labguage.
        
        We have Purchased both RadControl for ASP.NET Ajax and now Reporting Tool, so i believe you would help us on the above issue.


With Regards

Koshy
Steve
Telerik team
 answered on 05 Mar 2009
1 answer
115 views
Hi,

I am working on a project and having to do a lot of reports, I want to keep the reports the same appearance in term of keeping the same margins and keep logo and title the same places in each report, is there a way I can create my own report template?

Thanks,

Scott   
Steve
Telerik team
 answered on 05 Mar 2009
1 answer
545 views
I have a Telerik Report and want to bind data to the report by using a stored procedure.  I can accomplish that easily with a select statement or calling a stored proc that has no parameters.  When I try passing a parameter I get the message "The EXEC SQL construct or statement is not supported". 

I defined a report parameter called @UserID and call the stored proc like this: EXEC get_data @UserID.  This appears to be inline with the sample syntax shown at the bottom of the wizard when I am creating the connection (SELECT ColumnName1, ColumnName2 FROM TableName WHERE ColumnName1 = @ParameterName). I can even call the procedure with a hard coded value and it works like so: EXEC get_data 'myparm'.    

Thanks for any help
Steve
Telerik team
 answered on 04 Mar 2009
1 answer
221 views
I have a report with 12 columns and a page size of 8.5in, 11in with Landscape set to true.  I thought that this would be enough room for me to print this report in landscape mode, but it's not. 
 
When I print the report it is not taking up the whole sheet of paper, all of the margins are set to 0in.  When I print the top has a 3in margin, the bottom has a 4in margin and the sides have a 1in margin. 
 
How do I get this report to scale so that a Page prints fully on a page and the column headers don't repeat on a second page?
Steve
Telerik team
 answered on 03 Mar 2009
1 answer
131 views

Good Day,

I was wondering if you could lend me a helping hand?

I had a report set out like people do in spreadsheets, heading, followed by data underneathe.

I was using a page header as I wanted the heading to be displayed for each page the data flows onto, the only problem was, once the columns exceeded a certain number, the headings were truncated and further not displayed and then the data on the next page didn't have a heading.

Next I decided to use a report header, which appeared to be the answer to my solution at first but the headers were only displayed once, thus the remaining pages didn't contain any headings for the data they represented. Using a Group Header gave me the same result.

Basically for each column display the results for A, B & C, for instance, I would like "A", "B" & "C" to be displayed above their respected columns of data.

Is there a way this can be achieved?

Any help will be greatly appreciated.

Thankyou,

David

Steve
Telerik team
 answered on 03 Mar 2009
1 answer
111 views
Hi all,

We're currently building a Silverlight application using the Telerik controls and we just recently deployed an ASPX page using the trial version of the Telerik webform reporting tool and our application started failing with the following error...

WebHost failed to process a request.
 Sender Information: System.ServiceModel.ServiceHostingEnvironment+HostingManager/33711845
 Exception: System.ServiceModel.ServiceActivationException: The service '/XXXX-ISS/Services/Application Services/AuthenticationService.svc' cannot be activated due to an exception during compilation.  The exception message is: Could not load file or assembly 'System.Windows.Controls.resources, Version=2.0.5.0, Culture=de, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.. ---> System.IO.FileNotFoundException: Could not load file or assembly 'System.Windows.Controls.resources, Version=2.0.5.0, Culture=de, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
File name: 'System.Windows.Controls.resources, Version=2.0.5.0, Culture=de, PublicKeyToken=31bf3856ad364e35'
   at System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
   at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
   at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
   at System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
   at System.Reflection.Assembly.Load(String assemblyString)
   at System.ServiceModel.Activation.ServiceHostFactory.CreateServiceHost(String constructorString, Uri[] baseAddresses)
   at System.ServiceModel.ServiceHostingEnvironment.HostingManager.CreateService(String normalizedVirtualPath)
   at System.ServiceModel.ServiceHostingEnvironment.HostingManager.ActivateService(String normalizedVirtualPath)
   at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath)

We were able to get the application working again but deploying the de folder of the Silverlight controls to our bin directory. We have nothing in the application that references Culture=de, everything is set to Culture=neutral.

I'm suspecting the reporting tool since the silverlight app was functioning fine for weeks before we deployed the report component.

Any thoughts or suggestions?

Ta.
Steve Porter


Steve
Telerik team
 answered on 03 Mar 2009
1 answer
129 views
I am using Visual Studio 2008 and Telerik Reporting Q3 2008 SP2.  We are using MySQL as the database backend.

I created a report and put it on a report viewer on a windows form.  I put this in the code behind of the form

 

private void reportViewer1_Load(object sender, EventArgs e)

 

{

LETGReportLibrary.

 

rptMasterAddress MyReport = new LETGReportLibrary.rptMasterAddress();

 

MyReport.AddressID = 8164;

reportViewer1.Report = MyReport;

reportViewer1.RefreshReport();

}

When I run the windows application, no data shows on the report.  I know when I run the query, 14 rows come back.  Why doesn't the data show in the windows application?

 

Steve
Telerik team
 answered on 03 Mar 2009
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?