So qty is bound and the 40 shown was not entered by the user and withdraw is also bound to a table? Then perhaps use the BeforeUpdate event of the withdraw control and present you message box if withdraw > qty. If user selects no, cancel the update, undo the entry and set focus back to the withdraw control.
EDIT - I would not do this in the button click event as the user could move off of the record and the entered value would remain.
The more we hear silence, the more we begin to think about our value in this universe.
Paraphrase of Professor Brian Cox.