Skip to Content
author's profile photo Former Member
Former Member

totaling a formula that uses running totals

Post Author: rbnielson

CA Forum: Formula

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. The problem is I need to total this fromula field and can't find a way to do it.

Thanks

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Apr 28, 2008 at 06:00 PM

    Post Author: pandabear

    CA Forum: Formula

    Hey rb,

    Try creating a local numberVar (numHold) and a shared global numberVar (numTotHold).

    Then something like :

    numHold = IIF ({#Invoice Ins Payments}<>0,{#Invoice Charges} - ({#Invoice Ins Payments}{#Invoice Patient Payments}{#Invoice Practice Adj}) ,0 ) ;

    numTotHold = numTotHold + numHold;

    Hope this helps,

    The Panda

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.