Feb 7, 2010 #1 luvtitans50 MIS Joined Dec 11, 2009 Messages 60 Location US I have a field in my report called jobtitle, I only want it to display 35 characters? How can I achieve this? Thanks,
I have a field in my report called jobtitle, I only want it to display 35 characters? How can I achieve this? Thanks,
Feb 7, 2010 #2 bborissov Programmer Joined May 3, 2005 Messages 5,167 Location BG Code: SELECT LEFT(JobTitle, 35) AS JobTitle .... Borislav Borissov VFP9 SP2, SQL Server 2000/2005. Upvote 0 Downvote
Feb 9, 2010 #3 NiceArms Programmer Joined May 21, 2009 Messages 105 Location GB or if it's not the first 35 Characters you require: SELECT RIGHT(JobTitle, 35) AS JobTitle SELECT SUBSTRING(JobTitle,3,35) AS JobTitle try each see the differing results /Nice Upvote 0 Downvote
or if it's not the first 35 Characters you require: SELECT RIGHT(JobTitle, 35) AS JobTitle SELECT SUBSTRING(JobTitle,3,35) AS JobTitle try each see the differing results /Nice