$ 0 0 Hi Divesh, Its working fine, Can you please tell me what is the use of creating a function in sales order subform . Regards, Bharath K