We help IT Professionals succeed at work.

Working on the weekend - multiplication problem

Jaziar asked
Last Modified: 2013-12-18
I basically just have a table with some number fields

Number                                                 Number
Currency     Number   Number   Number  Currency

  cost        in stock     need     ordered     total

All is need is for the default value for

total = ordered * cost

I can change the * to a + and it works fine.  When I have the * in the value complains about field total need to be a number.

Field total := total;
result := ordered * cost;
@SetField("total"; result)

This is what I am trying
Watch Question

This one is on us!
(Get your first solution completely free - no credit card required)
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.