Wrox Programmer Forums
|
Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Databases 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 February 25th, 2004, 01:51 PM
Authorized User
 
Join Date: Feb 2004
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
Default Text manipulation

Hi!

I have a text-database with a field that contain records with much text inside (were talking texts with at least 800 letters). The easy way to display this text is to simply write "<% =ObjRs("text") %> and have all the text displayed in a strait forward way.

BUT! I want my text to be in columns (two presets) like the text in a newspaper article... Is this possible? If so, please tell me how to do it.

 
Old February 25th, 2004, 04:09 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

There's no built in way to do this. You'll need to write it. Perhaps you can take half the text (by character count) and put it in one table cell, and the other half in another table cell. This would certainly give you a column layout. There is a style property that will give you "spread letter" newspaper style formatting within the column. Take a look at the MSDN style reference for that style.

Peter
------------------------------------------------------
Work smarter, not harder.
 
Old February 26th, 2004, 04:17 AM
Authorized User
 
Join Date: Feb 2004
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I see... It sounds like a good idea to split the text up and devide it in two table-td's. I did think that it was the only way, but I guess I had hoped for a easier way to do it. Oh well, I'll give it a spin!

/Thanks






Similar Threads
Thread Thread Starter Forum Replies Last Post
Recordset Manipulation aspless Classic ASP Basics 4 October 15th, 2008 03:45 PM
Date Manipulation pallone Javascript How-To 2 May 5th, 2006 02:15 PM
More datagrid manipulation burdickdave ASP.NET 1.x and 2.0 Application Design 2 July 29th, 2003 05:26 AM
DataGrid manipulation burdickdave ASP.NET 1.x and 2.0 Application Design 1 July 8th, 2003 01:11 PM
String Manipulation Ben Access VBA 2 July 8th, 2003 05:53 AM





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