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

 Labels

Print topic Send  topic

Author Message
tamara

Posts: 26
Posted: 02/08/2006, 10:24 AM

I was wondering if anyone can tell me how to limit displaying a label on a grid or report to just the first seven letters of the value. I can't find it in the label control properties any where.

Thanks,

Tamara
View profile  Send private message
dragoon


Posts: 173
Posted: 02/08/2006, 12:16 PM

better return right sql statement than modifying the control value

select   
case  
when len(column1) > 7 then left(column1,7)  
else column1  
end as whatever,column2,...  
from table  
View profile  Send private message
gesto


Posts: 42
Posted: 02/14/2006, 6:00 AM

too simple...


in events of the label.. put a 'before show' custom code...

add this line jus as it is...

eventcaller.value = len(eventcaller.value, 7)
View profile  Send private message
Oper


Posts: 1195
Posted: 02/20/2006, 9:40 AM

i guess was a tipo gesto "len"

sentence:
Label1.value = left(label1.value,7)

Quote gesto:
too simple...


in events of the label.. put a 'before show' custom code...

add this line jus as it is...

eventcaller.value = len(eventcaller.value, 7)

_________________
____________________________
http://www.7bz.com (Free CMS,CRM Developed in CCS)

http://www.PremiumWebTemplate.com
Affiliation Web Site Templates

Please do backup first
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.