Solved

The page size was not large enough to format the contents of an object in the report

Posted on 2006-06-22
4
3,637 Views
Last Modified: 2007-11-27
Using Crystal 8.5 with an ODBC connection to MS SQL server

I have a 4000 character memo field in the report. The memo field will not go across two pages, it always errors with "The page size was not large enough to format the contents of an object in the report"
I have a seen a solution mentioning breaking the field up into sections and using a page break..

I tried to use a SQL expression to break it up  
 {fn SUBSTRING ( ev_events."notes" , 0 , 250 ) }

Although this errors in the report editor, it does actually work, the problem is, the user may enter the note in a columnar fashion like

1./ Note1
2./ Note2
3./ Note3  etc   doing this the user may only be able to enter 30 or 40 charaters before the end of the page is reached, so my alowance of 250 chars then a page break is useless.

Does anyone have any ideas..?




0
Comment
Question by:harryhazza
4 Comments
 
LVL 42

Accepted Solution

by:
frodoman earned 500 total points
ID: 16961276
The only workaround I can think of would be to have a stored procedure go through the memo field and extract out the appropriate number of characters.  You'd need to account for the approximate vertical size based on not only the number of characters, but also the presense of carraige returns (to handle the columnar format you described).  The problem that opens up is you have no way of knowing if you would get back 16 'sections' of 250 chars each or some much larger number of sections because of the line feeds.

The only way I can think of to handle that is to treat each section as a separate record and let Crystal output each "record" so it'll handle the 1-to-many number of sections.

I'm not found of this suggestion but I can't think of anything else that'll work - I'll be curious if anyone can come up with a better option.

frodoman
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 16965069
Agree.  Crystal especially versions before 9 doesn't handle large memo fields very well.

mlmcc
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question