Report Design
 Crystal Reports Forum : Crystal Reports .NET 2003 : Report Design
Message Icon Topic: Subreport resize / Event after data populated Post Reply Post New Topic
Author Message
maraujo4
Newbie
Newbie


Joined: 12 Feb 2009
Location: Canada
Online Status: Offline
Posts: 3
Quote maraujo4 Replybullet Topic: Subreport resize / Event after data populated
    Posted: 12 Feb 2009 at 1:08pm
Hi Guys,
 
I need to create a report that has a picture on its right side, this picture has to cover the hole page. The details of the picture must be on its left size. The problem is that the details of the picture comes from 5 different tables, and for that reason I needed to create subreports. And because the picture has to cover the whole page I can not use multiple details sections to display the subreports and solve the overwrite problem.
So, what I'm trying to do is to rearrange the subreports location at run time. I'm using the event ReportRefresh to get the size and location of the each subreports to rearrange them. The problem is that this event gives me the designed location and size of subreport!! I want to get the size of the subreport after data was populated! Does anyone knows how to do  this?
I tried to draw my report design below :)
   _______________
 |            ___|
 | subreport1| p |
 |           | i |
 | subreport2| c |
 | ...       | t |
 |           | u |
 | subreportN| r |
 |           |_e_| 
 |_______________|
 
Thanks!
IP IP Logged
hilfy
Admin Group
Admin Group
Avatar

Joined: 20 Nov 2006
Online Status: Offline
Posts: 3702
Quote hilfy Replybullet Posted: 13 Feb 2009 at 12:53pm
I'm not sure if this will work, but it's worth a try.
 
Put the picture in it's own section prior to the first subreport and then put each subreport in its own section.  In the section expert for the section where the picture is located, turn on "Underlay Following".  This should set up your picture to appear next to the data.
 
-Dell
IP IP Logged
maraujo4
Newbie
Newbie


Joined: 12 Feb 2009
Location: Canada
Online Status: Offline
Posts: 3
Quote maraujo4 Replybullet Posted: 17 Feb 2009 at 7:53am
Hi Dell,
 
It worked! thank you so much!
 
MonicaBig%20smile
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.