Print Page | Close Window

Field Format

Printed From: Crystal Reports Book
Category: Crystal Reports 9 through 2020
Forum Name: Report Design
Forum Discription: The best way to design a report and problems you have encountered
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=11979
Printed Date: 27 Apr 2024 at 5:08am


Topic: Field Format
Posted By: Memoli28
Subject: Field Format
Date 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



Replies:
Posted By: DBlank
Date Posted: 04 Jan 2011 at 11:20am
ReplicateString ("I",field)


Posted By: Memoli28
Date 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



Print Page | Close Window