how to calculate and show the leave balance.....can anyone give me an idea...for example if an employee logged in his username and password open an leave application form ,in that there is a column balance leave how to display the balance leave....?please give me an idea...