Writing Code
 Crystal Reports Forum : Crystal Reports for Visual Studio 2005 and Newer : Writing Code
Message Icon Topic: Sort on formula field Post Reply Post New Topic
Author Message
aekelund
Newbie
Newbie


Joined: 05 Apr 2007
Online Status: Offline
Posts: 20
Quote aekelund Replybullet Topic: Sort on formula field
    Posted: 23 Feb 2010 at 7:13am

The issue I am having is I have a formula field that calculates a value based on the sum fields in a group.  I am trying to get the report to sort based on this formula field (without any success).  I have tried everything that I can think of to try and sort based on this field can any one please help me. Below is the forumla that I used for my calculation.

IF Sum ({viewAssy.hrsworked}, {viewassy.lineNumber}) = 0 Then 0
ELSE (Sum ({viewAssy.earnedHrs}, {viewassy.lineNumber})/Sum ({viewAssy.hrsWorked}, {viewassy.lineNumber}))*100
 
Andrew
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.