Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Show in a field (integer) format 0001 Post Reply Post New Topic
Author Message
alvarezdda
Newbie
Newbie
Avatar

Joined: 12 Nov 2013
Location: Venezuela
Online Status: Offline
Posts: 3
Quote alvarezdda Replybullet Topic: Show in a field (integer) format 0001
    Posted: 14 Nov 2013 at 4:32am
How to show in a field (interger,double) a format
like this 000001?

what is the formula to do it.?
Daniel Alvarez
IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4372
Quote lockwelle Replybullet Posted: 14 Nov 2013 at 4:39am
I don't know of a function off the top of my head, but looking in help...

cstr(x, "0000000000")

should do the trick
IP IP Logged
alvarezdda
Newbie
Newbie
Avatar

Joined: 12 Nov 2013
Location: Venezuela
Online Status: Offline
Posts: 3
Quote alvarezdda Replybullet Posted: 15 Nov 2013 at 4:28am
what is x?
Daniel Alvarez
IP IP Logged
praveeng
Senior Member
Senior Member
Avatar

Joined: 11 Jul 2011
Online Status: Offline
Posts: 165
Quote praveeng Replybullet Posted: 15 Nov 2013 at 7:36am
Replace x with your database field..
 
--Praveen G
Praveen Guntuka,
praveen_guntuka@yahoo.com
IP IP Logged
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.015 seconds.