jkaur
-
Posts
9 -
Joined
-
Last visited
Content Type
Profiles
Forum
Events
Featured Visualizations
Knowledge Base
Documentation (PDF Downloads)
Blog
Documentation (Test Area)
Documentation
Dr. Jaspersoft Webinar Series
Downloads
Posts posted by jkaur
-
-
<?xml version="1.0" encoding="UTF-8"?>
]]></p><p> </queryString></p><p> <field name="SKILL_SET" class="java.lang.String"/></p><p> <field name="COMPETENT_DATE" class="java.lang.String"/></p><p> <variable name="COMPETENT_DATE_1" class="java.lang.Integer" resetType="Group" resetGroup="group1" calculation="Count"></p><p> <variableExpression><![CDATA[$F{COMPETENT_DATE}
$F{COMPETENT_DATE}
$F{COMPETENT_DATE}
$F{COMPETENT_DATE}
$F{SKILL_SET}
-
Hi sanbez
Thanks for you reply.
The date is Date type and not a Timestamp. And I cannot do .getTime() on my Field because its a String type.
That means, I have a JRMapCollectionDatasource passed to the subreport, which has both X and Y columns as String (X being converted to String by X.toString()). So the two fields $F{X} and $F{Y} are String type.
I hope that makes sense.
I have attach my subreport which has the groupheader.
-
I am using iReport 4.0.2
-
I have a datasource passed from a main report to subreport.
This datasource has two columns - one is a date type(say X) and other is a string type(say Y).
Now I want to group data in Y based on the X.
I have used a group header with an expression - $F{X}. For some reason I am not getting a proper output.
This is what I want:
2013-1-6
Value 1
Value 2
2013-1-5
Value 3
Value4
This is what I am getting:
2013-1-6
Value 1
2013-1-6
Value 2
2013-1-5
Value 3
2013-1-5
Value4
What could I be doing wrong? Please help.
-
Hi,
I have a subreport in detail band.
Its supposed to print 2 values from query. But prints only the second element.
My 'index' variable is intialized to -1.
I can't see what the problem is!
Can anyone please help???
-
Hi,
I have a master report with a Title and 4 subreports, for now.
All my subreports are in column header in the mail report and in No Data section otherwise.
Now when I generate the report from my UI, the report gets generated but only the Title gets printed on it.
In my iReport properties for the subreport, I have set the Expression class as JasperReport type and my subreport expression is $P{Permit_Details_Subreport}.
If I make the expression class String, nothing gets printed even then.
Please let me know if you need any other info.
Can anyone tell what I am doing wrong please.
Thanks
J
-
HI,
I was looking for something like this too.
I have mapped the sub report and master report like you said. When I run the master report, it prompts for the value of the parameters, which is fine. But when I enter the values for the parameter, they do not get printed on the report. Can you please let me know what am I doing wrong?
PLEASE HELP.
Thanks
J
-
Hi,
I want my report to be
--some date in column header--
followed by
--a list in detail band--
followed by
--some data in next band--
Now my column header part is working fine.
I want to know how can I add static data in a band, below the detail band , like page footer or column footer?
Please let me know if you want more info. PLEASE HELP.
Thanks,
J
Post Edited by jkaur at 07/26/2012 03:43
Group Expression
in Products
Posted
I have finally fixed it!
All I had to do was sort the dataset before it was passed to the datasource.
Thanks.