Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Help with Formula Post Reply Post New Topic
Author Message
hlecover
Newbie
Newbie


Joined: 24 Nov 2009
Location: United States
Online Status: Offline
Posts: 4
Quote hlecover Replybullet Topic: Help with Formula
    Posted: 13 Jul 2011 at 4:08am
I've got this formula in a Crystal Report, and it works fine:

Replace (totext(Sum ({XF_vr_TotalHours.TotHrs},{@EmployeeByPaycode})),".",",")

What I am trying to do though is multiply the first field (XF_VR_TOTALHRS.TotHrs) by 100. Nothing so far as worked, even declaring the sum figure as a variable.

What am I missing?
Howard
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 13 Jul 2011 at 4:26am
Sum ({XF_vr_TotalHours.TotHrs},{@EmployeeByPaycode}) * 100
 
but why not just use a formula to multiply the value at teh detil level and then sum this?
Times100 as
{XF_vr_TotalHours.TotHrs}*100
 
Sum ({@ times100},{@EmployeeByPaycode})
 
 
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.016 seconds.