Word 2007 and Forms Mail Merge Problem
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');