I am having a minor issue playing with my exported Crystal Report, I can generate the reports just fine on our website, however when I attempt to export them to Word documents I don't quite get a document I can do much with.
i.e.:
I can't position the generated text anywhere in the document, it is almost 'frozen' in place. I would expect if I moved the cursor above the report text and pressed Enter a bunch of times I could remove the report down the page, however it just won't budge
All the text seems to be in its own box and I can't move it around or do anything with it.
Any thoughts? My expectation would be once it is exported to Word I could play with it like a Word document, move the text down the page, edit the document, do something with it.
Thanks!
btw, this question is similar to the one posted here, but this one wasn't tagged properly and I don't have enough karma to fix it:
https://stackoverflow.com/questions/434381/word-formatting-not-intact-when-exported-from-crystal-reoport
I'm afraid that you can't do much about it. Crystal Reports is very much orientated towards putting data in fixed positions on pages, so when it exports to Word it puts its data into text boxes because that's a similar thing that Word offers. You could make the Crystal Report page consists of a giant text field and using spaces and newlines to get the data into the right place, which will probably then give you a giant textbox in Word.
Related
I am very new to TOSCA and I don't have a lot of help around me for it, online searches do not seem to answer my question either.
I have scanned a basket page for a website and wish to create a loop to increase the quantity of a single product, but I can't seem to be able to read the quantity already in there, only change it. Is there a way to do this?
I am fine with conditions and loops its just this part of extracting the value from the text box.
Thank you for any help you can give.
You should be able to get the value from a text box by using the action mode buffer.
Here is the according section of the manual.
I’m having problems with an rdlc local report. When exporting to Excel, I want to keep a table on one page, and if it doesn’t have enough space to entirely move it to the next page.
I have tried the KeepTogether property, but it doesn’t work. I have also tried other suggestions like putting the table inside a list or a rectangle, nothing helps.
Forcing page breaks dynamically is not easy, and in this case the Excel report contains 2 sheets, which is not what we want.
Does anyone have any idea how to solve this? It is a Windows Form project.
I have a report that renders perfectly fine on screen, but when I export it to PDF one section is rendering the font HUGE, making it unreadable. The part that is getting rendered so big is a field I have set up to store rich text, which then gets converting to html. I did not roll this solution myself, but from what I understand it runs an rtftohtml method to render to the screen, and then it runs through the same method again to re-render it to a PDF, which is why I am confused. The first rendering (to the screen) looks perfect, and then the second rendering (to pdf) looks like garbage. I have seen a few threads on this topic in some other forums but not a single one has a response, so I am hoping the SO community has a possible work around or fix for this!
I have a report viewer that I am using to export to PDF and Excel. Sometimes some of the data in the tables is longer than a singular line.
When exported to PDF the fields that need more height are automatically given it. Yet when I export to excel it remains in the original height and doesn't grow to display all the data.
I want the cell heights to automatically grow to display all the data on screen. I have set CanGrow to true but this has no effect (apart from working when exporting to PDF).
Has anyone had this problem before and can share a resolution?
Thanks
OK, after not receiving any answers I delved in to this one myself.
It appears that text doesn't wrap in excel when the cell is a number of merged cells together.
So in the report viewer if all text areas and items aren't lined up with one another or if one is twice as long as two others then they will be placed in merged cells to make up for the crossover.
It means that the chances are these isn't a solution to the problem, unless all your text areas are identical in width or you can alter the layout so that those that require wrapping to new lines will only take up a single cell.
I done this by putting everything in a table, and knowing that if I merged any cells then text wrapping would not be possible.
I hope this will help someone out there!
I need users to be able to enter text in a webform with some basic formatting options and then generate a report showing the formatted text.
The support for HTML is horrible and entering a simple bulletlist doesn't even show properly in the report.
Right now i'm using a textarea with tinyMCE but that's because i don't know what else to use.
Is there a known best-practice for showing formatted text in a Crystal Report?
Edit
I just need to show a report with a bunch of text and icons. Users need to be able to save it to PDF. I doesn't even have to be Crystal Reports but it's what i have been using and worked so far. Until i needed to show formatted text.
I wish for another solution that comes with a designer and let's me bind against a DataSet.
The solution is to convert the HTML to RTF. RTF support in CR is much better than it is for HTML. This way users can still use the tinyMCE editor and even paste Word formatted HTML.
The way i convert the HTML to RTF if using an XSL stylesheet. Basically you load the HTML as an XML document and let the XSL translate it to RTF. This way you also have a lot of freedom over the way your text will appear since you can tweak the XSL.
I used this article to achieve that, the article's attachment includes the .XSL.