Hi friends,
File Name: Product
Field:
- ProductName
-Price (Display)
-Discount (Number)
-AmountToPay (Display)
i have a form with a lookup for a product. once the product selected, the Price is automatically assigned. The default discount is zero. Thus, when i select the product, the AmountToPay should be automatically calculated.
Example, if the price is USD 150, then AmountToPay should be USD 150.
Where should i put the embed for it?
Also, when the Discount is keyed in, the AmountToPay should be automatically recalculated. How do i make it happen?
So far, i only manage to save the AmountToPay after the user press the Save button. Thus, the value is only reflected in the AmountToPay when i return to browse.
regards,
Jason