Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Formula for * Post Reply Post New Topic
Author Message
Leighmills33
Newbie
Newbie


Joined: 04 Apr 2008
Location: United Kingdom
Online Status: Offline
Posts: 19
Quote Leighmills33 Replybullet Topic: Formula for *
    Posted: 18 Aug 2008 at 6:36am

I am after a formula for times a value of a field, I am not sure if it is possible but if anyone knows a way can they let me know.

 
The formula would go inside insert fields, and the field that I want to times is going to have a number value all the time. This field is named [Width] so I need something simular to [Width] * 25.4 can someone let me know if this is firstly possible and if they know how it would be great.
 
Thanks,
 
Leigh Mills
IP IP Logged
rahulwalawalkar
Senior Member
Senior Member
Avatar

Joined: 08 Jun 2007
Location: United Kingdom
Online Status: Offline
Posts: 731
Quote rahulwalawalkar Replybullet Posted: 18 Aug 2008 at 7:27am
Hi
 
Did you try using the formula that u have mentioned below
 
 [Width] * 25.4
 
so if the width is 10 then value will be 254 is this what you are after...
 
so your formula will be {table.widthcoulmn}*25.4
 
 
if you want to print * then use
 
ReplicateString("*",{table.widthcolumn} * round(2.54))
 
Cheers
Rahul


Edited by rahulwalawalkar - 18 Aug 2008 at 7:30am
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.063 seconds.