Hello I'm new to Crystal Reports and wanted to use CSS to format the way my report looks. However i'm stumped. I re-read many tutorials online and it seemed pretty straightforward...but nothing worked.
I right clicked on sections that i wanted formatted on CR Designer. I specified a CSS class name. I then created a .css file with the styles--however i did not see any changes to my report.
I also tried creating an HTML file with some CSS to see if that would perhaps affect the outcome of the look/feel of the report. Again, nothing.
Is there something else i'm missing here??
Since there are no answers to this question I'll throw a suggestion out there.
I'm sure you've probably got your issue figured out by now since this is an older question, but if you haven't then check out the answer to this question. There are 2 good links that discuss css and Crystal Reports.
css with crystal reports
Related
I am junior web developer in Korea.
I know that you may not understand well what I want to talk about.
Please tell me If I wrote wrong.
I recently use jasper studio for making report like this.
I add border-left and border-right in subreport.
But result is different from what I wanted to do.
Of course I added border-left and border-right in Detail band directly, it made different result as well.
Although this way looks fine, whenever I click preview tab, a page that has blank detail band is following page which is okay.
anybody help me, please :)
Hi pentaho has an example in its sample reports email_inventory_inline_HTML.xaction and inventory.prpt in the directory: biserver-ce\pentaho-solutions\bi-developers\reporting\unified-file-format. The xaction script sends a report defined in inventory.prpt by email ( within the body of the email ).
How do I do a similar thing. I am able to send my email via xaction but the resulting report in the email body has not styling or coloring. How do I implement inline styling in pentaho report designer. I am looking at invertory.prpt but cannot figure out how they did this. Help I need styling in my emailed reports.
When I run the example report (inventory.prpt) as an html output I realise the elements have in-line css and this is clearly what makes the styling visible in an email body; however my report references css classes for the styling. How do I turn this feature off. I am trying to find what about inventory.prpt makes its html output have inline css but to no avail. Any help will be appreciated
This is not really a solution but it worked for me.
I modified the inventory.prpt example report to my specifications. I am not sure if this is the case but it seems the css inline feature is custom to the inventory.prpt report canvas. So a few changes and replacements here and there and I was good to go. Like magic !
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 have created my Crystal Reports using SQL query in Crystal Reports itself, by passing two parameters, i.e, say for eg:- Month & Year.
While I preview the report, I can able to navigate through all pages by passing different parameters and its working fine, but while viewing the report through browser I can't able to view the current report instead is loads the previously generated report, but while I manually make refresh the crystal page in toolbar I can see the current report, even I can't navigate the current report.
Can anyone help me on this?
Try checking the 'Discard Saved Data When Loading Reports' option.
Should be able to find it here:
Right Click/Design/Default Settings/Reporting/Discard Saved Data When Loading Reports
Not sure if that will fix your problem or not but definitely worth a try.
go to file> save data with report.......
I think it will help you
I know its too late for the reply, but I was facing the same problem may be somebody else will go through the same. I applied many hints from different sites including stack-overflow but finally I solved my problem with this code snip..
crystalReportViewer1.Refresh();
crystalReportViewer1.RefreshReport();
Thanks!
I am working on a Classic ASP page with VB6 code. We are in a process of converting the crystal report and iis server for migration. We are not able to generate the report. When i debugged till the point i call the "Database.SetDataSource CDOSet, 3,1" it works fine. When i comment that single line i'm able to get the report without any data. We are also using the .ttx file for database connection(Field Definitions Only). Kindly suggest me were could have been the mistake. What all things i need to check for the migrating?
*crystal report 9 to Crystal report 2008, iis 5 to iis 6
First thing I'd suggest you look at is the Schema for the dataset and make sure it matches exactly with what the report is expecting.
Is it possible that while migrating some of the datatypes have changed and thats whats causing your problem now? if so it might be a simple fix to change the datatype in the report to match the new dataset
I don't have any experience with your setup, but my first guess would be a permissions issue. I would try looking at the event viewer on the server for more information, then the IIS logs.