473,788 Members | 2,733 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Crystal Report may grow to more than one page...

Crystal Reports product version 9.2.3.611
Developement Environment is VB.NET 2003

I have created a report that has several comment fields and a
subreport. The comment fields are all set to CanGrow and the subreport
grows just fine. When the content of the comment fields or the
subreport is sufficient the report will grow to more than one page.
Unfortunatly when the report is printed it will not print multiple
pages. I only get the first page.

Why is that?
Nov 20 '05 #1
4 4369
Hi Tim,

Does it display both pages in print Preview?

Bernie Yaeger

"Tim Frawley" <ti*********@fi shgame.state.ak .us> wrote in message
news:bf******** *************** *@posting.googl e.com...
Crystal Reports product version 9.2.3.611
Developement Environment is VB.NET 2003

I have created a report that has several comment fields and a
subreport. The comment fields are all set to CanGrow and the subreport
grows just fine. When the content of the comment fields or the
subreport is sufficient the report will grow to more than one page.
Unfortunatly when the report is printed it will not print multiple
pages. I only get the first page.

Why is that?

Nov 20 '05 #2

Bernie,

Your question made me look at my code again. I am printing directly to
the printer without using a preview option.

crReportDocumen t = New CWTRelease
crReportDocumen t.SetDataSource (dsRELEASE)
crReportDocumen t.PrintToPrinte r(1, False, 1, 1)
crReportDocumen t.Dispose()
crReportDocumen t = Nothing

I noticed that my start page was set to one and my end page was also set
to one. I set the end page to two and that allows it to grow to two
pages. Unfortunately it appears as though I will have to do some
calculating to see if it could grow to more than two pages unless there
is an easier way...
Thank you for your help!
Tim

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 20 '05 #3
Hi Tim,

There is an easier way - set the end page to 999 - it won't print beyond
what is required.

HTH,

Bernie Yaeger
"Tim Frawley" <ti*********@fi shgame.state.ak .us> wrote in message
news:Ot******** ******@TK2MSFTN GP10.phx.gbl...

Bernie,

Your question made me look at my code again. I am printing directly to
the printer without using a preview option.

crReportDocumen t = New CWTRelease
crReportDocumen t.SetDataSource (dsRELEASE)
crReportDocumen t.PrintToPrinte r(1, False, 1, 1)
crReportDocumen t.Dispose()
crReportDocumen t = Nothing

I noticed that my start page was set to one and my end page was also set
to one. I set the end page to two and that allows it to grow to two
pages. Unfortunately it appears as though I will have to do some
calculating to see if it could grow to more than two pages unless there
is an easier way...
Thank you for your help!
Tim

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 20 '05 #4
Hi Tim,

To print all page, you can set both startPageN and endPageN parameters to
zero. For more information on PrintToPrinter Method, you can refer to:

http://msdn.microsoft.com/library/de...us/crystlrf/ht
ml/crlrfreportdocu mentclassprintt oprintermethodt opic.asp

hope this help,

Luke
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Nov 20 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1139
by: Julie | last post by:
In my asp.net web application, I want to display crystal report, I use the CrystalReportViewer web control to load the created report, but I always got the error: CrystalDecisions.CrystalReports.Engine.LoadSaveReportExcept ion: Load report failed. Anybody knows what the problem is? Any help is appreciated. Thanks in advance
1
1746
by: Grey | last post by:
I am going to design a web application with crystal report for more than 200 users. I will use the crystal report viewer component in IE. I want to know how to calculating the license?? Do I pay to subscribe any license charge in order to deploy the crystal report for those 200 users? What is the license of crystal report .NET?? is it per server or per users?? what is the no. of user license come with the crystal report .net?? I am using...
0
1410
by: RJN | last post by:
Hi I have a report which is grouped on a column. I need to start each group on a new page and I have to reset page number on start of a new group. Finally I have to capture the number of groups created and the no. of pages per group on the front page followed by group details on the next page. Suppose 3 groups get created , Gr1 has 3 pages, Gr2 has 4 pages , Gr3 has 1 page
0
1311
by: Eakub | last post by:
Hi dear all i am a new user in this site.i create a report into crystal report. now i want to display from asp page by using condition.but i can't do it.please give me a solution. and also give me a simple report. Thank's n.b:database :sql server crystal report:8.5
0
1289
by: patengineer | last post by:
Hi, This is Pat from India. Today i registered myself in this forum for my above problem. And i found few of memebers asked same questions but i didn't find any answars to their questions. I don't know whether you have solution for this or not. Otherwise it is worth to join here... if anyone coimng with thesolution then he/she will be highly appriciated by all the members.. still hoping for the Best.. Thanks
1
3048
by: Amita K | last post by:
Hello Friend I am preparing a crystal report with Master-Detail kind of data. i have placed a subreport such that it shall display detail data after each row of main report. I know we can place subreport in main report that show data on execution and can also set "On Demand" subreport. i wish to design report where on clicking on one field from the row in main report, the sub report grow between two rows in main report. This gives...
0
1606
by: Gunjal | last post by:
hi i am generating a report in crystal report using asp.net i want to print the report so i am using client side javascript window.print() to print the report But it always prints 1st page as blank page can any one help me on this i dont want to this blank page
2
9356
by: nrnviv | last post by:
I saw your article on CR and have a question if you can help. using crystal report in VS 2005 C#. I want to print multiple copies(3) of a same report in a single page. Is is possible. Can you please help me? Thanks Neetu
1
1952
by: Brock | last post by:
Thanks for any help. I'm not new to Crystal Reports and use them routinely in vb.net for desktop applications, but I don't know where to start for using them in my asp.net apps. I currently have an .aspx page with a datagrid populated by two compliled DLL's which make the fields available to the datagrid with this code below. Should I have a popup screen that contains the ReportViewer from the toolbox? How can I in my crystal report set...
7
33716
by: aspnetpassion | last post by:
hi , i'm new to asp.net now working on crystal report 2008 . i did all the thing dat need to display crystal report on web page. like adding assemblys but when i run it it works fine with saying done with error. and the error is 'bobj is undefined'. i googled it too much and tried all the things but still i didn't get my result. i am using Visual web developer.and Crystal report 2008 if anyone aving same problem plz do let me any...
0
9656
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9498
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10370
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9969
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8995
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6750
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5402
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4074
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3677
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.