Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: can someone tell me why this isn't returning 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: 24 Jan 2013 at 6:08am

likely job code is already a text type so totext() cannot be used on it.

an easy conversion on this is
right("0000000"&{ELaborDist.jobcode},7)


Edited by DBlank - 24 Jan 2013 at 6:08am
IP IP Logged
bwsanders
Senior Member
Senior Member


Joined: 05 Sep 2012
Location: United States
Online Status: Offline
Posts: 177
Quote bwsanders Replybullet Posted: 24 Jan 2013 at 6:29am
awesome! that works perfectly. i had to insert a trimleft as it was filling a blank space in there but i have it working.

thanks again!
IP IP Logged
<< Prev  Page  of 2
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