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

Help with formula field

I have a formula field in my report called "net due", as follows:

{vwTranJrnlChgs.Fee} - Sum ({vwTranJrnlPmts.Amount}, {vwTranJrnlChgs.Voucher_Number})

How can I change this formula so that this field will only show up in the report if the result is greater than 0.00?

(I only want to include outstanding balances, nothing else)

I will eventually want a grand total of this field as well (showing total amount of outstanding balances).

Thanks.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Dec 04, 2014 at 09:26 PM

    Try something like this:

    NumberVar amount := Sum ({vwTranJrnlPmts.Amount}, {vwTranJrnlChgs.Voucher_Number});

    if amount <= {vwTranJrnlChgs.Fee} then

    {vwTranJrnlChgs.Fee} - amount

    else

    0

    -Dell

    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.