Print Page | Close Window

Problem Export

Printed From: Crystal Reports Book
Category: Crystal Reports 9 through 2022
Forum Name: Data Connectivity
Forum Discription: How to connect to data sources and export reports
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=18635
Printed Date: 20 Apr 2025 at 11:55am


Topic: Problem Export
Posted By: takugian
Subject: Problem Export
Date Posted: 17 Jan 2013 at 2:30am
Hi, guys!

I have a problem. A big problem to export my report. Let's go the explanation...

I have a report with cover and content. The cover will always have one page. But the content can have many pages.

About my cover... I have one parameter and for charts. It's okay. It's working well.

About my content... I have the following situation...

The content can be shared in two parts. The first must appear just in first page. The second part will have a table. This table can occupy the next pages.
For example, I export my report...
PAGE 1 - COVER;
PAGE 2 - PART 1 (TOP) / PART 2 (TABLE)
PAGE 3 - (Continuation of the table)
PAGE 4 - (Continuation of the table)
PAGE 5 - PART 1 (TOP) / PARTE 2 (TABLE)
PAGE 6 - (Continuation of the table)
etc...

Look at the page 5. it means that my FIRST table is finished. All of its rows was printed. Now, at the page 5, my report will print a NEW register. This new register has a NEW top and a NEW table. I can have MANY registers...

Now, I will explain what I did.

I put my "TOP" in REPORT HEADER, the table's column name in PAGE HEADER and my table's rows in DEATAILS A.

It works perfectly!!! But I can't export many registers. I send a parameter to export, but if I have many register, how could I export? REPORT HEADER will not appear again... And I can't send more than one parameter to the same situation.

Thanks!



Replies:
Posted By: takugian
Date Posted: 17 Jan 2013 at 12:56pm
http://img22.imageshack.us/img22/292/semttulogbs.png


Posted By: takugian
Date Posted: 17 Jan 2013 at 1:05pm
This is an example of a report. The report shows the missions and the tagerts.

The blue box shows a mission. It contains many text fields from the db and two charts (orange boxes). The red box is target's table and it can occupy many pages as the example shows.

Detail: One mission can have many targets. One target can just have one mission.

Each RPT that I did shows just one mission-target relationship. This happens cause I use the ID of mission to obtain the datas. So, of course, I would have just one mission.

"So why are you doing that???". I always need the "blue box" on the top of my report.

I thought I could export one report for each mission, but I don't know how to do this in Java... So, I thought about change something in my report.

Any idea?




Print Page | Close Window