I have a crystal report designer problem:
In my report is a field I want to display. But I don't want the field heading to be displayed. How can I suppress this?
It looks like this:
myFieldHeading
FieldValue1
FieldValue2
FieldValue3
But I want just that:
FieldValue1
FieldValue2
FieldValue3
How can I do that?
bye juergen
Never mind.
I found it. The header was added automatically in an other section. I removed it manually and now everything is fine.
Thanks anyway
Related
I am working on a Crystal Report and if the address which is in a subreport is duplicate I need the information to print on the same page if it’s different I need it to print on a separate page....Please Help!
Like AmmoPT said, we might need more information to help you.
But maybe you you can try this:
Right click on the section where the sub-report is: Section Expert - Paging .
Then on new page before, click the x-2 formula icon and use something like this:
if {your_adress_field}=previous({your_adress_field}) then false else true
I can't find any help online with my problem maybe due to that I don't know the exact keywords to use but hear me out.
Here is the screen shot of my report format...
The actual report result appears like this...
The next item appears beside (right side) the first result. I want it to appear below instead like this...
How do I achieve this? Just comment any additional information that is needed.
BTW, I am using visual studio 2013 (Seems like it matters).
UPDATE:
This is the report format that I want to copy. The headers are not important just the body of the report. Thanks!
Try to use grouping go to this link hope this gives you a clue thanks
Finally found out what's wrong. I removed the column groupings and added only a parent row group. Then I added all needed rows and columns inside the group. It was fairly easy once I found out the problem.
Here's the output of my report.
Thanks guys!
More than a full day gone and i still can't find a solution...
I am creating a report which will be used to print out an exam paper(Crystal Reports with VS 2010). All exams have more than one related unit and all units have their own questions.
So i have created a sub report with the units and questions and added to the main reports' Details section which formatted as multicolumn. I have generated the report which seems like below.
http://www.avekon.com/tmp/examprintscreen0.png
Everything is fine until now. But when i want to add the unit titles (which are in the subreport),they are displayed as headers of each column. I want to display the unit title as centered on the top of each page, like below.
http://www.avekon.com/tmp/examprintscreen.png
Tried to add a header to main report and update it from subreport. NOT WORKED! Because the variables are not while the subreport is looping.
Tried to format other sections as multi column. NOT POSSIBLE as i see.
Tried to insert sub report into sub report. NOT POSSIBLE again.
and i have tried a lot of other logical and illogical ways but no success at the end. It should be easy but i can not find the right way. Please help, really important!
Remove the multi-column formatting from the main report and instead, format the sub-report as multi-column.
This should do the trick.
I get this error when trying to preview the report.
Error filling print... Infinite loop creating new page.
net.sf.jasperreports.engine.JRException: Infinite loop creating new page.
at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillPageBreak(JRVerticalFiller.java:1903)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillColumnBreak(JRVerticalFiller.java:1961)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillGroupHeaderReprint(JRVerticalFiller.java:704)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillGroupHeadersReprint(JRVerticalFiller.java:672)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillPageBreak(JRVerticalFiller.java:1944)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillColumnBreak(JRVerticalFiller.java:1961)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillDetail(JRVerticalFiller.java:747)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReportStart(JRVerticalFiller.java:281)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:144)
at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:909)
at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:822)
at net.sf.jasperreports.engine.fill.JRFiller.fill(JRFiller.java:61)
at net.sf.jasperreports.engine.JasperFillManager.fill(JasperFillManager.java:446)
at net.sf.jasperreports.engine.JasperFillManager.fill(JasperFillManager.java:276)
at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:745)
at com.jaspersoft.ireport.designer.compiler.IReportCompiler.run(IReportCompiler.java:891)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572)
at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997)
Print not filled. Try to use an EmptyDataSource...
Is there an option I have to check or something to make this work?
In my case, I solved the problem by eliminating a subreport with the help of adding a detail band. The subreport was in a group header, not in the page header, however. For other people with a similar problem I would suggest a similar approach.
i had the same problem, I increase the vertical size of the report.now the issue is fixed.
Just you need to write groovy on Print When Expression that $V{PAGE_NUMBER}.equals(1) on column header property.
This happened when you drop sub report in detail section so the column header in jasper repeat twice.
So you have to tell column header to not repeat again with sub report.
I want to add some text (from a formula) to my crystal report.
the thing is: I want this text only to be visible if I export the report to HTML for instance.
I don't want to see the text if I print the report.
Can it be done?
bye Juergen
Short answer: no. Crystal Reports, even v2008, doesn't have a mechanism to distinguish when it is being printed.
You could use a parameter field to set the field's visibility, but this will be a manual process.
You might be able to write a user-function library (UFL) to use the Windows API to determine the state of the document and return it to the report. The challenge would be to 1) find an API that can determine a document's print state 2) determine the report's 'handle'. I would go the c/c++ route for building such a UFL.
I don't think it's possible. The simplest way around your issue is to make 2 different versions of your CR report, 1 for HTML and 1 for printing.
A little redundant, yes, but it gets the job done.