which event use for checking befor delete
Posted: Tue Jul 18, 2006 7:22 am
Sir my requirement is the system asking befor deleting record
You see my code
If found this chq in ledger file then not delete form cheqfile
Sir my question is where I put I this code
Or which event I use
select count(*) into :CHQFOUND from voumaster where cheqno=:rchqno;
if :CHQFOUND>0 then
message('Can not be del this chq is use');
message('Can not be del this chq is use');
go_item(?Chqno?);
else
message('delete your cheq');
message('delete your cheq');
commit_form;
end if;
pleas give me idea
thanks
aamir
You see my code
If found this chq in ledger file then not delete form cheqfile
Sir my question is where I put I this code
Or which event I use
select count(*) into :CHQFOUND from voumaster where cheqno=:rchqno;
if :CHQFOUND>0 then
message('Can not be del this chq is use');
message('Can not be del this chq is use');
go_item(?Chqno?);
else
message('delete your cheq');
message('delete your cheq');
commit_form;
end if;
pleas give me idea
thanks
aamir