?
Solved

Crystal reports - Excel export

Posted on 2004-09-30
10
Medium Priority
?
552 Views
Last Modified: 2008-01-09
Hi,

A Crystal report contains text type column of a length of 200 characters. Only the first n characters can be displayed on the report, but when the result is exported to Excel, the full length text (200 chars) is needed. Whatever we try, the text is trimmed during the export. Any suggestions?

Thanks.

Csaba
0
Comment
Question by:csloki
  • 3
  • 2
6 Comments
 
LVL 101

Accepted Solution

by:
mlmcc earned 100 total points
ID: 12189784
First why the limit on the report?  That may be the reason for the limit in Excel.

This will help
http://support.businessobjects.com/communityCS/TechnicalPapers/scr_exportexcel.pdf.asp

How are you exporting to Excel?

mlmcc

0
 
LVL 26

Assisted Solution

by:Kurt Reinhardt
Kurt Reinhardt earned 100 total points
ID: 12194549
How is your report formatted?  Is it a columnar report (rows and columns), or something else?

Generally speaking, exporting to Exel required additional formatting at design time.  Since I don't know how your report is formatted, you could try to embed field in a text field and then export that to excel.  That was a workaround for memo field exports:

http://support.businessobjects.com/library/kbase/articles/c2004511.asp

~Kurt
0
 

Author Comment

by:csloki
ID: 12197778
This is a simple tabular report (columns and rows), no sub-reports, totals etc.
The problem is that a large number of columns (including long description fields) must be displayed but only the first few characters of these fields can fit on the report. However, when exporting it to Excel, the whole content of all the fields must be transferred. I want to see first 10 chars in the Crystal but 200 chars in the Excel. Can it be done, or "what I see in Crystal is what I will see in Excel"?
Your comments are really valuable, anyway. Thanks.
0
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 101

Expert Comment

by:mlmcc
ID: 12205961
That may be very true.  Crystal tries to export to Excel exactly like the report shows (WYSIWYG).  It was for this reason that I wrote my own export to Excel routine but I don't think it will work from the CR viewer.

If you have CR9 or later there is an Excel export of data only which might do what you desire.

mlmcc
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 12429980
Either my comments or rhinok's comment should have helped

recommend split rhinok and mlmcc
0
 

Author Comment

by:csloki
ID: 12430647
Thanks for your comments, they were a valuable help for us. The question can be closed.

Csaba

0

Featured Post

Become an Android App Developer

Ready to kick start your career in 2018? Learn how to build an Android app in January’s Course of the Month and open the door to new opportunities.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
SQL Database Recovery Software repairs the MDF & NDF Files, corrupted due to hardware related issues or software related errors. Provides preview of recovered database objects and allows saving in either MSSQL, CSV, HTML or XLS format. Ensures recov…
Suggested Courses

621 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question