Link to home
Start Free TrialLog in
Avatar of deanlee17
deanlee17

asked on

Math Calaculation code

Hi Experts,

Im trying to perform the below calc which is in a loop,

FlxGridInvoiceInfo(rowskip_markup, "MARKUP") = Val(FlxGridInvoiceInfo(rowskip_markup, "EX_VALUE") * Val("QTY") / 100) * Val(Markup.Text)

FlxGridInvoiceInfo(rowskip_markup, "MARKUP") uses the row and column name "MARKUP", I just cant get the calc right....

So......
FlxGridInvoiceInfo(rowskip_markup, "MARKUP") is a position on the grid
Val("QTY")  Is a column, which uses the same row as line above.
Val(Markup.Text) is a test box on the form.

Thanks.
Avatar of Luis Pérez
Luis Pérez
Flag of Spain image

And what's the problem? Do you get any exception? Can you post any error codes or messages?
Avatar of deanlee17
deanlee17

ASKER

Just comes up with 0 as the value
ASKER CERTIFIED SOLUTION
Avatar of Luis Pérez
Luis Pérez
Flag of Spain image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial