Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

2 values

edited October 2001 in General
Hello

I would like to print 2 values on a repport, a and b.
I know that b = 5 * a.
I have the different values of a.
How could I solve the problem ?

thank you

Comments

  • edited October 2001
    Use a TppVariable and place the code to calculate b in the variable's OnCalc
    event. Use another TppVariable to assign the value of a to its value in its
    OnCalc event handler. Don't forget to set the type of the TppVariable to
    integer or double (it defaults to string type).


    Cheers,

    Jim Bennett
    Digital Metaphors


This discussion has been closed.