Hi All,

Is it possible to perform calculation on two fields (integers)? For
example, I have a quantity field in Product table, and a qty field in
License table, how do I calculate how many licenses available to used
after each license is being assigned to a product. (Product
Quantity=20, License = 5, I want to show Total licenses available =
20-5=15)

Here is what I did, but it did not work:

Available License:<%= product.qty - license.qty %>

Sean
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/hobousers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to