p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


  Return to Index  

crystal_reports thread: Interesting Problem in Crystal Report .....Help needed badly


Message #1 by "madhav a v" <madhavv3@r...> on 19 Nov 2002 04:44:06 -0000
Dear All,

                   I am facing one problem .I am exporting rpt 
file to rtf format.Now my rpt file contain main report and three 
subreport.All the data get exported correctly.but the problem is 
in the way it get exported.

                   The main entities in the report and subreport 
get exported correctly .but if the space available then the 
subreport data get DUPLICATED again.

                   And it will get mixed with the next row data.So 
the look is totally bad after exporting .

                   ex: if my first row contain one line data and 
the subreport in the first row contain 7 records so naturally this 
7 records occupy some space for row 1 . Now if space available 
this will repeat again and create problem.

AFTER THAT SOMEBODY SUGGESTED ME THE SOLUTION :
THE CONVERSATION WITH HIM IS ALSO I AM COPYING....

The solution in that document is as below,

Solution SUGGESTED :

                     This is an issue in the RTF export DLL that 
can be resolved with the following workaround:

                     In SCR, locate the section that appears twice 
in the exported document, and increase the height of the section 
approximately half and inch at a time, refreshing and exporting 
after each increase in section size.

                     Although it seems like there is a large empty 
space in the report because of this increase in section size, it 
won't be as noticeable in the exported document.

                      Eventually, after increasing the section 
size and exporting (it may take 2 or more times) the 'shadow' 
effect should stop in the exported RTF document.
-------------------------------------------------------

MADHAV'S Query:

                       But my problem is the portion which is 
repeated in the exported report is content of subreport.
                       And the content of the subreport can be any 
number.So for a specific data i may change the height .But it is 
for that point of data only. my data is continuosly chnaging and 
the height /content of subreport is also continuosly changing.
So how can i solve this problem.

---------------------------------------------------------

Please help me in solving this problem.
Thanking You,

Regards,
Madhav



  Return to Index