OLE2 causing trouble while removing .doc file.
I am not able to remove .doc file (from source folder) though it has nowhere being used/opened. I am using OLE2 & code is
=================================
PROCEDURE test (lr_fil_rec IN v_tm_fils%rowtype,
lr_clt_rec IN fa_clt_mstr%rowtype,
lr_order_rec IN tm_orders%rowtype)
IS
words ole2.obj_type;
args ole2.list_type;
BEGIN
words:=ole2.create_obj('word.basic');
args:=ole2.create_arglist;
ole2.add_arg(args, :global.word_path || 'stamp' );
ole2.invoke(words,'fileopen',args);
ole2.destroy_arglist(args);
/* class */
pr_insert_text('[tm_fils.class]',TO_CHAR(lr_fil_rec.class),words);