Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2020 : Report Design
Message Icon Topic: Single Page Report repeating Post Reply Post New Topic
Author Message
Turtleburn
Newbie
Newbie
Avatar

Joined: 03 Mar 2010
Location: United States
Online Status: Offline
Posts: 1
Quote Turtleburn Replybullet Topic: Single Page Report repeating
    Posted: 03 Mar 2010 at 6:36pm
Hello, first I will state I am new to using Crystal Reports.  I am creating a windows application and I want to display a 1 page report. I began designing the report using the crystal reports provided in Visual Studio 2008.   I have most most of the data I want displaying correctly on the report.  I reciently added a view to the sql tables I am using in the report. I dropped a field from the new view on the report on the footer section.  When I run the report, now I get muliple pages repeating all the data on the report above the footer section.  The last page lists the full report with the footer.  The view is a 1 to 1 relationship to the main table used.  Why am I getting mulitple pages?  
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 04 Mar 2010 at 7:12am

When linking tables (or views or stored procs) in crystal the joins are not enforced automatically. They will become enforced once any field is used from both linked items anywhere in the report (e.g. on the report canvas or in a formula or the select statement, ...) OR if you make them enforced in the crysal linking process.

Go into the Database > Database Expert Links tab
First verify that the correct one-to-one link is being used.
If it is not fix it.
If it appears OK try this test.
remove the view field from your report that is causing the issue.
View the reprot and verify that it appears correcty.
Now go  intop the DB expert Open the Link Options and CHange the Enforce Join to Enforce Both and save the change.
View report again. Did it go haywire again? If so then it has to do with the Join not being a 1-1.


Edited by DBlank - 04 Mar 2010 at 7:13am
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.063 seconds.