Crystal Report export issues - crystal-reports

I have a crystal report with 45 fields, i was added fields in single text field because i want to export crystal report in to plain text format, but whenever i export to plain text it show only 197 character in single line but i want all 350 characters in same line. So i was use Crystal Report 10 to run report and it gives correct output. I have DNN portal and i was put that rpt on portal that uses crystal report (version 10.2) dll, but whenever i trying to run that report again it show only 197 characters in single line but i want all 350 characters in same line. So what should i need to do, plz help

I did a lot of testing in this area a few years ago and found that v10 allowed the widest exports, but v11 can go up to 600 characters if you do it just right. The two main factors are the width of the object and the "Characters Per Inch" setting used during export. Try making the text object 20 inches wide, and when you export set the CPI to 26. If you can do those you should get all of your characters. The only part of this I don't have experience with is the DNN portal, which might introduce some other unknown issues.

Related

Generate Jasper reports without text boxes

When I generate an RTF report with Jasper each text field and static text that I declared in JRXML are converted in Text Boxes
[
I need to generate an base64 then and send to an webservice which were build from other people. The problem is that this webservice did not process those text boxes which Jasper generate.
As far as I realize this is not an Jasper problem it is an problem from Webservice´s API which do not process that component however is there some configuration to generate reports in Jasper without this text boxes just text and enters?
Acording Jaspersoft Community
Unfortunately there's no possibility to avoid RTF textboxes at the moment.Due to pixel-perfect output requirements, the RTF exporter in JR is based on textbox-layout.
So I will try anoter RTF exporter

Crystal report remove white space between two words

I am using Crystal Report 10.5 in my desktop application. When i run application, it will show the crystal report with proper data. In some words, it put proper white space between two words. But in some case it will remove white space between the words.
i.e. This is the sentence: "Name with 03/02/1978 and 4 days".
Now when it will print in Crystal report, it shows "Name with 03/02/1978 and4 days". Crystal report removes space before "4 days".
I dont know why crystal report is behaving like this. In some place it will print correctly and in some place it creates problem.
So can any one tell me how to solve this issue?
Thanks in advance.

is there a way to remove rtf from a database memo field within a formula in crystal reports version 11.5.10

I have a database memo field stored as rich text format ( rtf). I can drop it in a report and set the format of the field as rtf within crystal reports version 11.5.10 and see the text without the rtf control characters. However, I want to construct a crystal reports formula/function to process the ascii text, so is there a way to programmatically within crystal report to strip the rtf control characters from the memo field so I can work with only the ascii characters ?
I could not find such a function within CR or mention of a solution to this problem by googling.
Cheers,
You could try looking at this.
http://tech.groups.yahoo.com/group/BillQuick/message/937?
I found it and used it to change/override RTF font settings to print large text for easier reading. It could probably be modified to strip to ASCII.
Cheers,

Height issues in iReport

I've got a report that needs to print as landscape letter size. This report uses a detailed header for the 1st page, and a more concise header for every other page. The problem I'm running into is that having both headers defined in iReport has made the report too large to fit the letter size constraints (in terms of height).
When I print the report, the correct headers display on their correct pages, but the report is too large and contains massive amounts of whitespace. The printer then tries to center the report and ends up clipping portions of the header and footer so I only get the midsection of the report.
Is there some way to configure my report to have 2 versions of 1 report band (in this case the pageHeader band) and then just provide an expression to determine when each version should print? Or can I group bands together somehow so that iReport knows they occupy the same space?
Any help is appreciated.
I couldn't ever find any sort of fancy way of doing this, so I just made the 2 headers into subreports and included both in the same location on the pageHeader band. Problem solved.

Crystal Reports Formula to parse RTFtext based on font format ie Bold and Italic

I have a column of RTF data that looks like the following:
The terms or definitions to be used in this document are:
Daily Operator. Used when the user is.......etc..
Using crystal reports I would like to grab just the BOLD text using a formula or equivalent.
I keep getting the RTF markup instead of standard text. Here is an example that I used to grab first 10 characters.
DIM convertedText as String
convertedText = cstr({table.DefinitionRTF})
FORMULA = MID(convertedText, 1, 10).
Looking ahead a bit more, how would one determine where the bold or italic Starts. Can you check for crBOLD and return the characters index position?
Thanking all in advance.
No, Crystal does not have the built-in commands to parse RTF objects by font properties. The purpose of Crystal Reports is to present formatted reports (and it more or less does this job very well). Sorry, but it's definitely not made to be a RTF parser.
I recommend doing this with some other tool, for example, a VBA script in MS Access that imports the RTF and parses it using the MS Word API. Probably wouldn't be that difficult.