Maybe I was not really clear with my original question.
Let me explain what I should be the required output and results:
For a given "ItemID", I need to update the "IQty" with the input field
"Qtypurchase" so that the resulting Purchase Quantity would be a larger
amount. Example:
Original Quantity: 100 (IQty )
Purchase Amount: 50 (Qtypurchase)
Closing Quantity After Purchase: 150 (IQty)
I shall copy paste the full coding here again for three files,
idbpurchase.jsp, imodproc2purchase.jsp and iupdpurchase.jsp
Hope u could help me solve my problems here.
Thank you very much. I appreciate it

[This message has been edited by Richard Tham (edited November 26, 2001).]
[ Editted by Dave to remove the code - Sorry ]
[This message has been edited by David O'Meara (edited November 26, 2001).]