IF m.getvalue=0 MESSAGEBOX('Rate Not Found'+CHR(13)+'Please check rate','Accounting System') return.f. endif