CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 Fixed Field Width in List

Print topic Send  topic

Author Message
Raj
Posted: 06/28/2006, 8:11 AM

I want to display two fields each 150 characters wide in a list.

I want both fields to be shown next to each other with 25 characters width
and the rest wrapped as many lines required.

Raj
Posted: 06/28/2006, 8:20 AM

Sorry I meant Grid. Display records in a grid wide fields.

peterr


Posts: 5971
Posted: 06/28/2006, 1:24 PM

I'm not sure if HTML provides a way to specify how many characters you want, but it should be quite simple to specify the width of your column (table cell) in pixels in HTML.
If you really need to display 25 characters width then you may need to write some ASP code that will split your string the way you want and convert it to a string that contains <br> tags in places where you want to have line breaks. The VBScript Left() function may be useful here.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.