Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: CR XI: Formatting issues - please help Post Reply Post New Topic
Author Message
JDM6763
Newbie
Newbie
Avatar

Joined: 25 Jul 2008
Location: United States
Online Status: Offline
Posts: 5
Quote JDM6763 Replybullet Topic: CR XI: Formatting issues - please help
    Posted: 25 Jul 2008 at 12:03pm
I'm hoping someone can help me.  I have a report which is being exported to excel format through a Classic ASP web application. My report has 9 columns. Some values could potentially be blank. Whenever I have a blank field though, the data in the column after it will side into blank fields  place.  Is there any way to keep this from happening?
 
Here is a mockup of the problem I'm having. In this mockup, XXXXX, BBBBB, and CCCCC represent arbitrary data.
 
Figure 1: 
Column1  Column2  Column3
XXXXX       XXXXXX    XXXXXX
XXXXX                       BBBBBB
                 CCCCC     XXXXXX   
 
Figure 1 is the formatting I would like to see in both preview display and when exporting to EXCEL from Classic ASP, however, in the figure below is actually what is happening.
 
Figure 2:
Column1  Column2  Column3
XXXXX       XXXXXX    XXXXXX
XXXXX                   <- BBBBBB
       <--     CCCCC     XXXXXX   
 
If I have a blank field in a record such as in row 2 column 2 and in row 3 column 1, fields in those rows to the right will shift to the left to fill the empty fields.  This only happens when exporting to Excel.  Is there anything than can be done to fix this? 
 
 
Thanks in advance for any tips or help with this!
 
Jim
 
 


Edited by JDM6763 - 28 Jul 2008 at 6:22am
IP IP Logged
hilfy
Admin Group
Admin Group
Avatar

Joined: 20 Nov 2006
Online Status: Offline
Posts: 3702
Quote hilfy Replybullet Posted: 29 Jul 2008 at 2:39pm
The only way to prevent this from happening is to put some sort of default value in the blank spaces.
 
Unfortunately, exporting from Crystal - especially to Excel - can be very frustrating and has been an issue for years.
 
-Dell
IP IP Logged
JDM6763
Newbie
Newbie
Avatar

Joined: 25 Jul 2008
Location: United States
Online Status: Offline
Posts: 5
Quote JDM6763 Replybullet Posted: 31 Jul 2008 at 6:54am
Yes, What I finally did to fix this was to create a Formula Field to check the field for a blank, or null value based on the data type, and return a value such as asterisks, otherwise return the value in the field.
 
 
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.016 seconds.