Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Converting Numeric Values to String Post Reply Post New Topic
Author Message
HEMREDDY
Newbie
Newbie


Joined: 31 Jul 2013
Online Status: Offline
Posts: 38
Quote HEMREDDY Replybullet Topic: Converting Numeric Values to String
     Posted: 17 Jan 2014 at 8:34am
Hi,
 
I tried converting a field values from numeric to string reading from left to right using CStr(Field). For a numeric field say 1256  i am getting a string value of 1,256.00 for a numeric value of 12956 i am getting 12,956.00. I want the values 12256 and 12956 to be displayed in report so that i can use the same in filtering. Is this possible.
 
Hem Reddy
IP IP Logged
kostya1122
Senior Member
Senior Member
Avatar

Joined: 13 Jun 2011
Online Status: Offline
Posts: 475
Quote kostya1122 Replybullet Posted: 17 Jan 2014 at 9:00am
try something like
totext(field,0,"")
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