Hello to All Members, I have created three UDF's as follows :- And need code for auto calculated value 1. Total Amount 2. Charges Amount 3. Product Amount I want to get auto calculated value in Product Amount i.e. ( Product Amount = Total Amount - Charges Amount) What is the code for Set as or Setval or Setcond ???? Pls help