Oracle Forms (MOSC)

MOSC Banner

Word 2007 and Forms Mail Merge Problem

edited May 7, 2009 4:02AM in Oracle Forms (MOSC) 1 commentAnswered

Is anyone else having problems with mail merge in Word 2007?

I am following Doc ID 297410.1 and my program is hanging after it does a client_ole2.get_obj_property(word_app,'ActiveDocument'); 

The next line is

 Client_ole2.get_obj_property(active,'MailMerge');

and it hangs at that point.

Here is the trigger:

declare
 word_doc Client_OLE2.OBJ_TYPE;
 word_app Client_OLE2.OBJ_TYPE;
 m_obj Client_OLE2.OBJ_TYPE;
 active  Client_OLE2.obj_type;
 word_docs  Client_OLE2.OBJ_TYPE;
 ls_arg_list Client_OLE2.LIST_TYPE;
 v_arg_list  Client_OLE2.LIST_TYPE;
begin
 word_app := Client_OLE2.CREATE_OBJ('Word.Application');

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