Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Exporting with subreports Post Reply Post New Topic
Author Message
kattim
Newbie
Newbie
Avatar

Joined: 14 Apr 2008
Location: United States
Online Status: Offline
Posts: 1
Quote kattim Replybullet Topic: Exporting with subreports
    Posted: 14 Apr 2008 at 8:10am
I have a report that contains a subreport (needed to extract one field). I have to export this to excel. When I do, the field that is in the subreport wraps to the next line in Excel. How do I keep all the data on one line? Cry
IP IP Logged
Iago
Groupie
Groupie
Avatar

Joined: 01 Oct 2007
Location: United States
Online Status: Offline
Posts: 52
Quote Iago Replybullet Posted: 15 Apr 2008 at 12:46pm

This might be over kill, if you have given up on attempting aligning by clicking on the entire line and align the bottoms and or tops, try a shared variable.

 

Check documentation, but it works something like this.

 

Create a formula in your sub report (and use it)

In that formula create a shared variable and assign the value to be used by the main report to it ( Make sure the formula has that green check, that indicates that you used it)

Create a formula in the main report

Create a share variable with the same name. and simple state it in the formula

Example

Shared CurrencyVar RealizedPL;

RealizedPL

You may want to move the sub report out of the way and set the text to crwhite

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.