Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2020 : Report Design
Message Icon Topic: Specifying String Length Post Reply Post New Topic
<< Prev Page  of 2
Author Message
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 16 Apr 2010 at 5:31am
sorry, my cut and paste attempt left an extra "if length" in the formula. Try: 
 
if length({DataTable1.Name})<25 then {DataTable1.Name} else
left({DataTable1.Name},instrrev(left({DataTable1.Name},25),' ')-1)


Edited by DBlank - 16 Apr 2010 at 5:32am
IP IP Logged
<< Prev Page  of 2
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.023 seconds.