Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Concatenate Number and String Post Reply Post New Topic
Author Message
venham
Newbie
Newbie


Joined: 28 Sep 2011
Location: Canada
Online Status: Offline
Posts: 11
Quote venham Replybullet Topic: Concatenate Number and String
     Posted: 12 Mar 2015 at 4:15am
I need to create a variable that is a string made up of (my.invoice_number) and  a "-C" at the end so that it looks like 123456-C

I have tried the Concatenate function but without success.  Any thoughts?
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 12 Mar 2015 at 4:22am
totext(my.invoice_number,0,"")+"-C"
IP IP Logged
venham
Newbie
Newbie


Joined: 28 Sep 2011
Location: Canada
Online Status: Offline
Posts: 11
Quote venham Replybullet Posted: 12 Mar 2015 at 4:28am
That worked great!  Thanks so much for the prompt response.
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