Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Blank Rows in Excel Export Post Reply Post New Topic
Author Message
chris
Newbie
Newbie


Joined: 02 Apr 2008
Location: United Kingdom
Online Status: Offline
Posts: 35
Quote chris Replybullet Topic: Blank Rows in Excel Export
    Posted: 09 Sep 2009 at 3:16am
Hi all,
 
I've built a report which is setup as such:
 
RH - Suppressed
 
PH - Unsuppressed - Shows column headers
 
GH1a - Unsuppressed - Contains Sub-report which has all of it's sections suppressed. Passes shared variables from subreport to Details section
 
Gh1b - Unsuppressed - Contains Sub-report which has all of it's sections suppressed. Passes shared variables from subreport to Details section
 
D - Displays basic data plus shows shared variables from both sub-reports all on one row.
 
GF1 - Suppressed
RF -  Suppressed
PF - Suppressed
 
The problem I have is that when I export my report to Excel (Data only) I am getting 4 blank rows between each detail section. This is I assume being created because of GH1a/b being unsuppressed. Problem is, if I suppress the GH's the shared variables will no longer be displayed.
 
Does anybody have any advice on how I can stop the blank rows occuring ? 
 
Using CR XI R2..... and Brian's Book.
 
Thanks
 
Chris
 
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 09 Sep 2009 at 9:20am

Everything in your sub reports is suppressed correct?

In the main report, right click on the subreport
select Format subreport
select subreport tab
check suppress blank subreport
in section expert of main report
select GH1a and check Suppress blank section
same for GH1b
 
This should still run your subreports, pass the variables and also suppress the sections.
 
 
IP IP Logged
lstewart7
Newbie
Newbie


Joined: 13 Nov 2009
Online Status: Offline
Posts: 1
Quote lstewart7 Replybullet Posted: 13 Nov 2009 at 12:33pm

I am having the same issue.  When exporting to excel it adds the rows in.  I have done all the things mentioned and when you view with gridlines in Crystal all looks good.  But when I export excel is adding the rows.

Any suggestions?

 

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.031 seconds.