Wrox Programmer Forums
|
Beginning VB 6 For coders who are new to Visual Basic, working in VB version 6 (not .NET).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning VB 6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 1st, 2007, 04:38 PM
Authorized User
 
Join Date: Jul 2003
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default Large report in text box

I wish to display a report which could be 50 pages or more and allow the user to block and print portions of the report. To do this I have used a text box for the displayed output, but I find that it quits midway through the report, apparently running into some limit on the quantity of data that can appear in a text box. Is there a way around this?

 
Old August 2nd, 2007, 07:45 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,189
Thanks: 5
Thanked 59 Times in 57 Posts
Send a message via MSN to gbianchi
Default

hi there..

the amount of data of a textbox is limited by the size of your memory (there is no explicit limit)...

but printing 50 ppages of info into a textbox doesn't seems to be the best solution.. I can't image the size of the scrollbar, not even how hard to find anything could be.. maybe there is a better solution??

HTH

Gonzalo

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from dparsons signature and he Took that from planoie's profile
================================================== =========
My programs achieved a new certification (can you say the same?):
WORKS ON MY MACHINE
http://www.codinghorror.com/blog/archives/000818.html
================================================== =========
I know that CVS was evil, and now i got the proof:
http://worsethanfailure.com/Articles...-Hate-You.aspx
================================================== =========
 
Old August 2nd, 2007, 08:06 AM
Friend of Wrox
 
Join Date: Sep 2005
Posts: 812
Thanks: 1
Thanked 53 Times in 49 Posts
Default

Perhaps, you should try some CrystalReports or ActiveReports for your stuff

Regards
shasur

http://www.dotnetdud.blogspot.com
 
Old August 6th, 2007, 07:32 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 627
Thanks: 0
Thanked 0 Times in 0 Posts
Default

The TextBox control has a limit of 64K of memory
Try using a RichTextBox

"There are two ways to write error-free programs. Only the third one works."
Unknown





Similar Threads
Thread Thread Starter Forum Replies Last Post
Updating VBA calculated Text Box throught Report wintermute Access VBA 2 March 28th, 2008 12:00 PM
#Error displayed in text box on report RayL Access VBA 3 March 16th, 2007 07:12 AM
How to change the width of text box in a Report kishorelakkimsetty Reporting Services 3 May 13th, 2006 01:50 PM
Assigning a value to a report text box using VB Enoch Access 2 January 19th, 2006 01:57 PM
Scrolling thru a large list box - using keystrokes bill unswort VBScript 1 August 27th, 2004 07:20 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.