Adding a subreport to rdl table cell - reporting

I have this RDL report, which needs to show a list of objects.
each objects itself contains multiple charts and tables so my idea was to add a single table in my report and add a sub-report to the table cell and feed the id of each object via a parameter to the sub-report.
This is how my report currently looks like:
Many sites suggest that the proper file may be selected by navigating to the supreport properties screen and using the browse button on the "Use this report as subreport" section, but my designer has no browse button:
My first thought is I'll just type in the path. But this doesn't work because it won't support : or \
Here I'd like to mention that we deploy our report in a subfolder of our application's deployment folder(generally something on the lines of "C:\Program Files\Company\Application\data\ReportDefinitions") Also the report files are not included in the application's solution. They're loaded at run time as needed.
I've also checked what msdn has to say on the matter. Some pages suggest using an expression like ="path" but this doesn't work for the same reasons.
Another article from Microsoft says something in the line of:
but this doesn't work either it just can't find the report sub-report in any way:
I've double checked and triple checked. The sub report is in the same folder as the main report and it's name is correct, but it just won't see it
I've already spent hours on this and I feel like I've exhausted every option.
What am I missing?

It seems my problem was not loading the subreport properly.
I load and render my reports pragmatically. Adding the following line overcame the problem
localReport.LoadSubreportDefinition(
"SingleCalibrationCurveReport",
new StreamReader(Path.Combine(this.systemSettings.DataPath, #"ReportDefinitionFiles\SingleCalibrationCurveReport.rdlc")));

Related

Finding fields in report builder

One of the columns in my Table actually has a value which is picks from a field from dataset and a textbox (for example =Fields!Total.Value/ReportItems!Textbox80.Value). The Total Field comes from a dataset in my report however I am struggling to find the Textbox80 . Is there any way I can search for this Textbox from Report builder UI. I tried seeing in Properties view as well but Could not find a way. I looked at below link also for help but it talks about BIDS which I cant see in Report builder
This seems to be a potential duplicate of How do I find a specific textbox within a SSRS 2008 R2 Report
The answers show that there is no specific way to do this with the report builder UI without selecting each report item and manually checking the properties menu.
The textbox can easily be seen if you are viewing the report in Visual studio (using the properties drop down box at the top of the screen)
The textbox can also be found if you edit the .rdl file in a text editor, which can then allow you to attempt to locate the textbox

How to find Oracle APEX Interactive report template

I need to make style changes to Oracle apex IR (apex version 4.2). For that purpose where can i find the template of it. ? is it saved inside table or procedure ?
Interactive reports are held in a region and the region can have a template, but has no effect on its content, such as an IR.
While you can define report templates for classic reports, this is not possible for interactive reports.
You cannot control the structure (html) it puts out.
You can however change the style of it by applying CSS to the appropriate elements. You don't have need to alter the source it puts out. Defining selectors and using your browser tools to inspect everything you can definitely influence the look and feel.
Word of warning though: heavily applying CSS will bring some trouble when upgrading to apex 5, as IRs have been changed a lot. This means you'll have to change selectors quite a bit while also doing more setup on the IR.
If you'd supply more info on the kind of change you'd want to make to the IR, answers could be more specific and concrete.
You can find Oracle Interactive reports template from
PAGE RENDERING SECTION
Right Click your INTERACTIVE REPORT
Click Edit Report Attributes
Then template is under Layout and Pagination Section
But i doubt you can edit the template in there.
If you are looking for adding a template to be used in your report then follow these steps
Go to the Main Page of your application
Then go to Shared Components
Then Search for User Interface Section
Under this section, Click Templates, this is where you can add template for any type of item(report, region, page, etc..)
Read these article for customizing report template
http://www.apexninjas.com/blog/2011/03/customizing-report-templates/
http://rimblas.com/blog/2014/05/using-conditions-with-column-templates/
http://www.eberapp.com/pls/apex/f?p=BLOG:READ:0::::ARTICLE:5976400346831048
http://apex.shak.us/post/1145946801/fully-control-your-interactive-reports-toolbar
You can create new template under apex:
Application Builder/Application #/Shared Components/Templates

The information of header and footer section is missing on last few pages of a RDLC report

I am new to the forum. Nice to meet all of you.
I am facing the problem that the header and footer section are missing on last 17 pages of RDLC report. However, the previous 60+ pages of report is worked well.The header and footer section is containing both static and dynamic data.
After I go to find the solution, I found that the operation code of report should be no problem and the only thing that may be problem is the things on layout may cause the error.
I also try to make the report with two export: PDF and EXCEL.I found that only PDF have this problem but EXCEL don't have this kind of problem. However, I cant find the problem to change the layout.
I am using SQL server management studio to manage database, Microsoft Dynamic Nav 2013 to get the data from database ,Visual Studio 2010 to manage layout of report.
Thus, hope you guys could suggest some idea for me as this types of problem don't have any discussion on internet.
After my mind is dropping into hell and try to change setting of the places that may be cause the error in more than 10 hours, I finally found the solution!!!
In my report body content, it has a list1 tablix to contain a rectangle that contains two tables to show the list of transactions.I just change the KeepTogether to "True" in the properties of the two tables, the list1 tablix, and the rectangle.And change the PointBreak to "end" for list1 tablix.
Thus, the report is worked well in PDF export.

odoo / OpenERP V8 - Tutorial on QWeb Reports

I am trying to start with odoo. One of the most import thing for us would be to generate different layout for sale orders.
I've started with this document: https://github.com/odoo/odoodays-2014/blob/master/v8_reporting_engine/index.rst
It is from the "odoodays 2014" and shows how to customize an existing report. This works fine. I don't understand the points under "Generic / particular report".
Now I'm lost trying to add a new report (starting with a copy of the exisiting report) with a custom template.
I've tried to add a new item in the report view in settings, but I can't add any linked qweb views (I've added a new one, but it didn't get a new ID).
I've tried to create a copy in the views directory of the addon but it didn't help.
Is there any tutorial for this ?
Is there somebody who can give me some pointers how to add a new report ?
After searching around I've come to this solution. I've translated all the menu headers from German, because I'm using Odoo in German.
reports are listed in Settings / Reporting / Reports
you can click one of the reports
if you edit one of the reports you can click on "Search for linked QWeb Views" - you can click and change these views. They are in HTML and are used for the data in the reports
New reports are typically added with a plugin.
If you would like to change the report with the website editor you can install the website builder. If you change one of the reports from PDF to HTML (in Settings / Reporting / Reports) you get a popup when you're generating the report.
In this popup you can change the report template. With this you can change the template with the website builder tools.
These reports are saved in the database in the table ir_ui_view. If you change to another database they still have the original reports (this was my big fear - that changing the reports changes them for all databases).
Header and footer are still changed in the company settings with RDL.
So basically everything from the odoodays-2014 document is working like they've showed on this website - it was just pretty hard to find out how these things worked.

How can I make a property page always show up?

I'm currently extending a custom "Platform" for VC-2010 (it is extremely similar to the standard pipeline and mostly just swaps 'cl' for 'gcc') and have run into a problem with the property pages.
I can't seem to figure out how to force a property page to always be visible. This page is for a tool that will pretty much always be run on a special control file that has many different tools run over it (hence why I don't want to directly link it to the file type via the 'FileExtension' in my 'ProjectSchemaDefinitions' file). So far I've only been able to get property pages to display when I've added a file with the correct 'ItemType' as an 'Item' in the vcproj file.
How can I make it so that my custom property page is always displayed, regardless of whether there is a property group for it in the vcproj file?
Thanks
A fresh look at the code this morning revealed the 'ProjectTools' MSBuild item which seems to do exactly what I want.

Resources