Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2020 : Report Design
Message Icon Topic: Field Format Post Reply Post New Topic
Author Message
Memoli28
Groupie
Groupie
Avatar

Joined: 10 Apr 2009
Online Status: Offline
Posts: 58
Quote Memoli28 Replybullet Topic: Field Format
    Posted: 04 Jan 2011 at 10:31am
Hi All,
 
 
In crystal i have a numeric field.I want to create a new field which shows in 'I' * this field.
 
example:
 
field:     new field:
7           IIIIIII
6           IIIIII
10         IIIIIIIIII
 
basically what i want is to show in the new field  'I' times the number in the old field.   
 
In excel you have a function called : REPT.
 
does anyone know how to achieve this is Crystal?
 
regards,
Memoli
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 04 Jan 2011 at 11:20am
ReplicateString ("I",field)
IP IP Logged
Memoli28
Groupie
Groupie
Avatar

Joined: 10 Apr 2009
Online Status: Offline
Posts: 58
Quote Memoli28 Replybullet Posted: 05 Jan 2011 at 7:30am
Dear Dblank,
 
many thanks...Smile
 
in case of no whole numbers i just only add rounding.
 
 
regards,
Memoli
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.012 seconds.