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.
Related
In Visual Studio Team Services, I'm trying to display text in the comment section of a work item query. Can anyone give me any insight to why the comment field is blank despite adding comments?
I've included a screenshot of my query, and comment side by side.
Comment section blank
Well, "Comments" and "Discussions" are two different Fields they are not the same in VSTS. What you are trying is to display "Comments" from the "Column Options" in the query, but the field that was actually filled/ edited was "Discussions". "Discussions" are only for a Work Item Form. Currently they aren't queryable.
Hope this helps!
Based on the screenshot, the work item is Task, there isn’t Comment field in Task work item, you can get a work item through REST API to get the fields.
Regarding Query, you can’t add Comment column if you filter Work Item type in Column Options configure window. The Comment filed is in Review work item type.
The History column can display the latest Discussion value (click Refresh button if it is empty).
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.
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. -_(--)-_
Another Umbraco question, apologies.
I've created a new template in the Master templates list, but this template doesn't show up in the Templates drop down list on content pages.
I'm wondering if there's something I've missed, or if there's a way to publish this which isn't immediately obvious.
Any help appreciated.
You need to select the template as an allowed template type for the Document Type of your pages. Lets say you're page Document Type is called "ContentPage" and you've added a new template called "NewTemplate".
By default you won't be able to select the new template when editing your "ContentPage" pages. You'll need to go into "Settings" in Umbraco, and then expand the "Document Types" folder. You'll see a list of all of the Document Types, select the one you want to use the template on ("ContentPage" in this example).
The first tab that you'll see is the "Info" tab. There's a checkbox list called "Allowed Templates" that you need to select your new template in. Save the Document Type and go back into the Content. You should now be able to select "NewTemplate" as a template on your "ContentPage" pages on the site!
I hesitate to engage in thread necromancy, but because this is the first Google result and things appear to have changed in 7.4.3 (the first version of Umbraco I've ever experienced), I'd like to share the process I use to add templates to document types.
Go to "Settings".
Expand "Document Types" and select the document type to which you'd like to apply the template.
Click "Templates" in the top right of the page.
Click "Choose extra template".
Select the template you wish to allow and click "Close".
Click "Save".
Go to "Content".
You should now be able to create new content under the document type you selected with the template you specified.
I hope that helps to save another new Umbraco dev some head-scratching.
Im new to drupal. I had created web form with few elements and two select boxes. All went well. that was last week.
Now, I want to change the values, and strangely I can't see list of Values anywhere in the form component page. I can't even see how to create a new selectbox and give new options.
I think I kill some module responsible for this. Im not sure.
FCKEditor is installed, if that helps.
screenshot: http://twitpic.com/2sqytr
If you go to the node, you should see a Webform tab, if you click that you should go to the overview of the webform form, where you can edit existing form fields and add new ones.