954,574 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Subreport in crystal report - ASP.NET and C sharp

Hi,

I got a crystal report with:-

main report
subreport(Item_A)
subreport(Item_B)

There is a limit for the subreport to show only 5 record, if there is more then 5 records it should go to a new page. I have been trying to do this for 1 week, i tried so many codes and tried changing the new page but the the records dont seem to go to the new page. I got 10 records, when i print it's only printing the first 5 records, the balance 5 it doesnt show... and it doesnt show any new page. The SQL is locked to TOP 5 records? Any idea?

ukfreak
Newbie Poster
22 posts since Apr 2010
Reputation Points: 10
Solved Threads: 0
 

Hi anyone? i still couldnt solve this.. please help... i need it today..

ukfreak
Newbie Poster
22 posts since Apr 2010
Reputation Points: 10
Solved Threads: 0
 

in your sub reports did you put the field in other than details section.....
i feel it should have in Details section..

mono_jit23
Junior Poster in Training
51 posts since Jun 2010
Reputation Points: 13
Solved Threads: 10
 

sorry i dont get u?

ukfreak
Newbie Poster
22 posts since Apr 2010
Reputation Points: 10
Solved Threads: 0
 

in your crystal report (ie .rpt file) you have multiple sections like header, details, footer section.. if you put your field value in other than details section it doesn't expand according to increment of data. when you have multi row data you must put it in details section.

mono_jit23
Junior Poster in Training
51 posts since Jun 2010
Reputation Points: 13
Solved Threads: 10
 

there are no limitation in crystal report, you may check number of your records in database

aspproject
Junior Poster in Training
Banned
78 posts since Apr 2011
Reputation Points: 1
Solved Threads: 3
Infraction Points: 5
 

The subreport are placed in the details section...

ukfreak
Newbie Poster
22 posts since Apr 2010
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: