hi.. thx 4 the reply....
i know it should use the formula... but how??? can u give some sample code? or maybe a step by step.
about the "total", i already able to make it... i only have problem with the previous amount..