hosxp version อะไรครับ
if getsqldata('select bill_amount from rcpt_print where rcpno="' + fbill + '"')
= 0 then
begin
showmessage('Bill already abort !');
exit;
end;
if vartostr(getsqldata('select account_confirm from rcpt_print where rcpno="'
+ fbill + '"')) = 'Y' then
begin
showmessage('Finance has been confirm to AR, Can not abort !');
exit;
end;