CodeCharge Studio
search Register Login  

Visual Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> .NET

 Limit characters

Print topic Send  topic

Author Message
Mark Hope
Posted: 05/03/2004, 7:05 PM

I have done this in asp limit the length of characters returned with this code in the before show:
SearchList.ShortDiscription.value = Left(SearchList.ShortDiscription.value, 80)

What is the code in VB

Thanks
Stan
Posted: 05/04/2004, 12:06 AM

Mark

The following code should be used
If SearchListShortDiscription.Text.Length > 80 Then
SearchListShortDiscription.Text = SearchListShortDiscription.Text.Substring(0,80)
End if

Stan
Mark
Posted: 05/04/2004, 8:34 PM

Thanks, Stan :-)

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.

PHP Reports

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

Home   |    Search   |    Members   |    Register   |    Login


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