Are you packing this data all in a RTF field programmatically?
if yes, your options are rather scrase: It might be possible to dynamically create tables with fixed width and height which would disable any clipping or word wrapping effects. I havent checked this, might be worth a look at.
If the information in the report is well structured, consider creating a form for it by using fields within tables (in which case you can restric the look and feel of the table). The send the report to the user by mail attaching the form (there's an option to do this in case you dont already know).
This way the preview should look okay.
But probaly you're adding data dynamically into a number of columns c and a number of rows r. both r and c are unknown and vary.
In that case i would strongly recommend exporting the data into tabular text or excel format, save it as file and then attach it to the mail you send (this is pretty much what hong7cong suggested). But this solution only makes sense if the recipients do not have to edit the data and it is only delivered for viewing purposes.
Come to think of it: Depending on how often you do this and on the volume of the data it would make sense to create the report in a nice structured file as descibed above, attach this file to a document repsitory and just send the users the link to the document. That would be the cleanest soulution imho.
Generally, trying to squeeze data into rtf fields and hoping it looks okay seldomly works out. And it often looks pretty crappy =) it's notes after all.
If you need more info on how to implement one of the described solutions let me know and please provide some more details about these reports. What they contain, who has to do what with them, where are they stored and from what data are they derived.
Main Topics
Browse All Topics





by: hong7congPosted on 2006-11-16 at 18:49:31ID: 17962175
I think to control how the formated text showed in our screens is rather complicated because it depends on so many factors (is your text editor/email system same as recipients - Lotus Notes, the screen resolution used by you and the receipients). So, instead of trying to ensure that your screen is fitted to others' screen, I think we just use a standard report format and send as attachment.