I have created two crystal reports files and i'm trying to combine these two file in the crystalreportviewer.
I need to display reports one after another. For example, if my first report has four pages then my second report should start from fifth page.
I have tried to use sub-report, but it's displaying second report within the first report. Is there any other way to display .rpt file one after another in crystalreportviewer?
Usually you can accomplish this by creating an empty report with both reports as subreports, one after another.
Related
I have a report that displays a table of information inside a cell of another table. When the report is exported to excel there are blank rows above and below the table, the report looks fine when in HTML. I cannot have these as they throw errors when being imported into another application. How can I make it so that the table is one cell and no extra lines these?
Include that data in the outer list. If you are using Cognos as an ETL tool (something it is NOT good at) you'll want to flatten the output. Any formatting will cause you trouble downstream.
Excel format is probably not the best solution. You'll want to send your report to Excel Data or CSV.
I have tried multiple solutions in different posts to no avail, so please forgive me for being redundant. I have a dataset for an RDLC PDF report in ASP.NET using VS2010. I have changed the SQL statement to return two additonal columns to an existing set. I have stepped through the debugger and verified the two column are being returned with the proper data. However, I cannot get the Dataset to refresh with these new columns. And when I add them in the XML manually, the fields are just blank on the report.
Please help
I need to produce a Cognos Report that produces 12 tabs. Each tab contains the same sort of report simply run for a different parameter value, for example, the month of the current year. I would like to reuse the SQL and define it only once and have this SQL accept a parameter.
I'm very new to Cognos 10 Report Studio. Can I use the Event Manager to execute a single report once with 13 parameters but yet combine the results in a sdingle XLS with 12 tabs?
I know I can split the results of a single query across multuiple XLS tabs, but i need to run the same query multiple times with different parameters...
I've only seen a 5 min demo of Event Mgt, not sure if that's even the place. Any direction to a newbie would be appreciated.
Depends on how "different" the parameters are.
If you want to split the values of one data item across separate tabs, such as a tab for each month of the year, use Page Sets. Write one query, create one list/report object. Then Section the list and tie to the Page Set construct in the Page tab. Example
A report created in Report Studio with different Pages will also export to different Excel tabs. If you have to split on a combination of 2+ data items with different values, you'll have to use different pages and queries. You can't re-use one query and plug in different values for each page. So, copy the primary query object and re-write to use parameter(s) unique to each page. Your prompt page may get a little large, but this is the standard method to create a "book" of reports.
Event Manager is for triggering report execution based off changing data. The classic example is to send a "Thank You" note to a salesman when he logs a sale of $1m or more in the database.
I am trying to schedule 10 reports that go to the same table and ask for the same columns, except that they differ in a key value (i.e. the report selects column a, b, c from table A but differ in the where clause = 'CLIENT1', = 'CLIENT2', etc).
I was wondering if I can use the same report and set an external variable before running it that defines that where clause. All of this scheduled so that I don't have to set the variable manually.
So what I want is for the report to run itself 10 times using 10 different external variables that define the key value of the client.
If such a thing is possible I would gladly take some help.
Thanks!
2 - Options.
Your Scenario. Its sounds like you want to pre-run the report by several different Clients.
Options - Not in any order
Bursting allows you to pre-run and/or pre-deliver a report based on a burst key(Your client id). The report is ran for the entire data set and then spliced by the burst key. You can store these as report output versions and/or target them to be emailed to specific users etc... (This was a popular feature in Cognos created several years back and plenty of documentation on it in the manuals). These reports can be scheduled and pre-ran so you dont' have to wait for Database queries etc...
Report views - You can create a report view on top of report that is nothing more than a logical not physical instance of the report with its own default parameters etc.. This way you can create one report and create as many views on top of it as necessary with differing parameters. These can also be scheduled and pre-ran.
Hope this helps.
Report View would help you in this situation. Add a prompt to the report to select the choice for which you wanna run the report. Create 10 report views as you wanna schedule the report 10 times. In each report view select different values (1 value out of 10) ie. in first report view select CLIENT1, in the second report view select CLIENT2,etc... Schedule all the reports. Its done!!! When Compared to Report View, Bursting would be better as the data execution would be done once in Bursting but in Report View, it will be executed based on the number of report views present.
Maintenance is easier in case of Bursting.
If you have problems getting bursting working, you can probably also use pagesets.
http://publib.boulder.ibm.com/infocenter/c8bi/v8r4m0/index.jsp?topic=/com.ibm.swg.im.cognos.ug_cr_rptstd.8.4.0.doc/ug_cr_rptstd_id28446cr_rptstd_frmat_rep_create_page_set.html
Let's say I have 10 reports, each of which contain 1 or more tables and charts.
I want to allow a user to select a bar chart from report 1, a grid and pie chart from report 2, a grid from report 3 etc to create a composite report.
I think I have a solution in Telerik whereby I combine multiple reports together, as sub-reports, and hide all elements (tables, charts) except the ones that the user wants to include. If all elements are placed inside min-sized panels then white space should disappear as elements are hidden. I've done a quick test using this method and it appears to work.
My question is, is this the best way to approach the requirment? Are there better approaches with other tools such as Crystal Reports, ActiveReports and DevExpress?
Jules
Are you trying to combine these report at run time? In ActiveReports, these 3 reports can be run separately and then all the three of them can be combined to create one report document or individual pages from these can be combined together to create another report document. This document can then be viewed in any of the viewers, printed or exported to pdf and excel and such.
At design time, it is doable but is not worth it. Will need some code to make sure that the layout is first created correctly based on user selection of certain kind of report and then you will have to make sure that correct data is getting fed prior to running the report.