Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Number of characters Post Reply Post New Topic
Author Message
Atori
Newbie
Newbie
Avatar

Joined: 24 Nov 2009
Location: France
Online Status: Offline
Posts: 18
Quote Atori Replybullet Topic: Number of characters
     Posted: 24 Nov 2009 at 12:48am
hi all,

how I can limited the number of characters for a text object please ?
thanks
IP IP Logged
Atori
Newbie
Newbie
Avatar

Joined: 24 Nov 2009
Location: France
Online Status: Offline
Posts: 18
Quote Atori Replybullet Posted: 24 Nov 2009 at 12:54am
and to stick without space enter text object when export in text format

thanks


Edited by Atori - 24 Nov 2009 at 1:14am
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 24 Nov 2009 at 7:24am
Not sure exacly what you are asking?
If you want to remove all spaces from a text field and then truncate it to a specific number of characters the below should do that. Replace teh REd number with the total number of characters starting on the left that you want the result to be:
left(replace({table.textfield}," ",""),6)


Edited by DBlank - 24 Nov 2009 at 7:24am
IP IP Logged
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