Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2020 : Technical Questions
Message Icon Topic: Need some help Post Reply Post New Topic
Author Message
rbnielson
Newbie
Newbie


Joined: 28 Apr 2008
Location: United States
Online Status: Offline
Posts: 1
Quote rbnielson Replybullet Topic: Need some help
    Posted: 28 Apr 2008 at 9:04am
Here is the issue I am printing out a statement,  for the purpose of the statement I am printing only on a change of invoice number.  I am also changing the total so that if there is no insurance payment the invoice total is 0 as far as the patient responsibility.  the formula is
IIF ({#Invoice Ins Payments}<>0,{#Invoice Charges} - ({#Invoice Ins Payments}+{#Invoice Patient Payments}+{#Invoice Practice Adj}) ,0 ) this formula works fine in the group footer for change of invoice.  I also want to total the patient responsibility fields that are created above but have been unable to do  so.  Any Ideas?
 
Thanks
IP IP Logged
BrianBischof
Admin Group
Admin Group
Avatar

Joined: 09 Nov 2006
Online Status: Offline
Posts: 2458
Quote BrianBischof Replybullet Posted: 28 Apr 2008 at 3:29pm
You can create a manual running total. Use a Global variable to summarize the data in a formula and then to print it out create another formula which simply returns the value of that global variable. It's also important that in each formula you re-declare the global variable so that you don't get an error about an unknown variable.

I have three chapters that teach everything you need to know about writing formulas and the programming syntax. You can find out more about my books at Amazon.com or reading the Crystal Reports eBooks online.
Please support the forum! Tell others by linking to it on your blog or website:<a href="http://www.crystalreportsbook.com/forum/">Crystal Reports Forum</a>
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.031 seconds.