I have existing crystal report which is using stored procedure to bind the report field.
NOw, i need to change this procedure to another procedure version where some extra fields are existed.
So, i have change it from "Edit Command" by clicking at alias.
ProbleM: it does not show the "Cross tab" existed in report and all other things are fine.
Please share me what could be the cause.
Thanks
Normally if you make any changes to the datasource or update the datasource, Cross tab will be resetted and all its formatting will be lost and cross may also disappear.
Check whether the fields used in cross tab still exists after updation of the datasource. If those are missing then also there is possibility of losing the cross tab.
In this case you need to recreate the cross tab.
Related
I am very much new to Jaspersoft studio. I am trying to create Master Detail kind of report.
Master table does contain details about DEPARTMENT details.
Child table does contain details about departmentwise EMPLOYEES.
DEPARTMENT(DEPTNO, DEPT_NAME, LOC)
EMPLOYEE(EMPNO, ENAME, SALARY, DEPTNO)
Now what I want to do is, when I click on DEPT_NAME hyperlink in Master table, the corresponding employees should be shown in child table like shown in the below image.
I could not get proper results in the Google search.
I am following one document to learn about Jaspersoft Studio (downloaded from Jaspersoft official website).
But, there is NOT much clear information about the procedure how to do.
For examplef, it is written like
Click the button next to Hyperlink When Expression to create
. But what expression to write is my doubt!
AND ALSO,
Can anybody please tell me the location for best tutorials! For example, explanation in this this link is so nice. But, I want to know where it is originated from!
Hence, anybody please help me.
The Hyperlink When Expression is used if you want the hyperlink to appear conditionally. If the expression evaluates to true, then the link is displayed. In your case, I believe you want every instance of the Dept Name field to display a hyperlink, so you would not put any expression in there.
As for making a child table appear, I don't think you can do that. You have two choices:
You can make the link a ReportExecution link. When the user clicks it, a new report is run that displays the child table. But it won't appear in the same document.
You can make the link a LocalAnchor or LocalPage link. In this case, you would already have to have included all the child tables on the report, and the link would simply navigate the user to the correct place in the document.
Documentation on JasperSoft hyperlinks can be found here.
If you are using older version of jasper you will get hyperlink option when you right click on field on which you are giving hyperlink. For later version you will get this option in right hand side properties section while clicking on that particular text field.
Hyperlink section choose blank if you want to open drill down report in new tab or self to open it on same page.
Choose Report Execution.
In parameter section create a parameter
name=_report and value="path of drill report"
Create another parameter with department name and in value "field department"
Thanks.This will work.
I've just started in FM 14. I have a client table and a project table. When I look at a client entry I have a portal that shows me the titles of the projects they have commissioned. I'd like to be able to click on one of the projects in that portal list and be taken to the layout that contains all of the other fields in that project record. Can this be done? Is this enough information?
Yes. Set the button action as a script step "Go to Related Record". In this script step, set the table as "projects" and select the layout you would like to go.
I would stay away from GoToRelatedRecord. I usually just grab the ID from the item in the portal, then search for that item on a new layout, then do whatever I planned on doing. It's safer. With GoToRelatedRecord you can never really control what happens.
I have encountered same problem 'Document Has No Pages' issue as described in Jasper Reports And IReport Issue. I applied the solution provided in the given link and it started working. I am stuck behind the concept. My main point of concern is, when we are using detail band and we don't give a data query it gives Document has No Pages error. As soon as we give a dummy query in data query, it starts working. Kindly note that, i am using a subDataSet for a table component. That's where IReport generates this issue. Any pointers would be helpful.
Keep in mind that This is not an error but this is how it is configured to do.
This happens when you don't have results to display in the report from the database. But still you can set option what to do in this situation.
In Jaspersoft iReport 5.6.0
1. right click the report
2. Go to properties
3. Find **When No Data**
4. Select one from the options
There you'll see some options as No Section, No Detail, Blank Page, No Data Section, No pages.
Choose the one suits you. -_(--)-_
I am using Crystal Reports 2011. I am totally new to crystal reports and reporting tools in general. I just added my data fields to the details section, but instead of showing all the rows in one page, a new page is created for each row. I did not use any grouping or change the section paging settings.
This only happens for a blank report, when using the report wizard it works fine, but I can't see the difference between what I did and what the report wizard did.
The problem seems to have been a mix up with the sections, I've understood how these work now and got it to work. Thanks for the help.
I had 2 details section, so for every row in details1 it also displayed the information of details2 (which I only wanted to appear once). So I moved the data of details2 into a report footer.
Right click on your report and then go to Section Expert check Is Keep togather is checked
or New Page after or before in not checked.
Make sure that "New Page After" and "New Page Before" are not ticked. Also, Adjust the section sizes to the minimum you need.
In general, it sounds like you have a row data, inserted into the page header/footer section instead of the details section and therefore presented in each page...
I'm currently using CR 2008 for design and running my reports in InfoView. I have a fairly standard report with about 6 groupings and 2 details sections. The groupings are all hierarchichal and can be drilled into. The report contains 5 parameters that the user has access to edit in Infoview.
My problem occurs only when users change any parameter on the report and then attempt to drill down in the report. The result always ends up that the drill down will display the very first Group, with drill down, in the report rather than the one they selected to drill into. If a user enters the report and drills into any group without changing the parameters, everything works as expected.
Has anyone ever seen this kind of behavior or know of a reason that this might be happening? Please help.
Thank You,
Patrick Johnson
This is a bit of a reach, but when you change the parameters, are you refreshing the data (ie. don't use the saved data that was pulled originally). I believe something may be going wrong because of that.
Always, always, always choose to refresh your data.