Oracle Forms (MOSC)

MOSC Banner

OLE2 causing trouble while removing .doc file.

edited Dec 27, 2011 10:10PM in Oracle Forms (MOSC) 1 commentAnswered
Hi Experts,

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);

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center