Wrox Programmer Forums
|
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access 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 May 9th, 2007, 01:30 PM
Authorized User
 
Join Date: Aug 2006
Posts: 85
Thanks: 0
Thanked 0 Times in 0 Posts
Default Wrapping Report

Hello:
  I have a project and I want to know the best way to do it. It's a two parter and I'm going to give both up front in case one impacts the other.

Part One: Create a report which will contain a field which wraps text at 72 or 80 characters and does so smartly (in order words, it doesn't just break words).

Part Two: This report is going to need to be exported to a plain text file and maintain formatting.

Thanks and any help I can get would be great.

Arholly

 
Old May 10th, 2007, 06:32 AM
Friend of Wrox
 
Join Date: Mar 2004
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

Part two may be easier since you can use a character count and then line breaks on spaces only. Just use the WriteLine function. Then Len() to check the string before writing.

I am not sure what is going on with the Can Grow that it is breaking in the middle of words. I don't recall seeing that before.

mmcdonal





Similar Threads
Thread Thread Starter Forum Replies Last Post
Text wrapping abhilasha_dubey JSP Basics 1 October 26th, 2007 12:03 AM
wrapping IF statement around DropDownList ethertt77 ASP.NET 2.0 Basics 3 February 20th, 2006 02:45 AM
Word wrapping hbenditsky VB How-To 0 February 6th, 2006 08:19 AM
"Text-wrapping" bcat BOOK: Beginning CSS: Cascading Style Sheets for Web Design ISBN: 978-0-7645-7642-3 1 March 28th, 2005 11:53 PM





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