Hi,
I want to open mutiple Word documents after selecting the documents in a PB application.
first i select a Blob object from the database :
blob lbl_doc
SELECTBLOB word_document INTO :lbl_doc
FROM harmony_document_template
where template_code = :as_template_code and the_language = :ls_language;
ole_1.ObjectData = lbl_doc
ole_1.Activate(OffSite!)
ole_1.Object.application.ActiveDocument.Add_Ref()
Add_Ref() ==> is a function in the VBA code of the document
if I do this code in a loop then he opens all the documents,
but he overwrites each time the documents
so i can only see the last document in Word
How can I open these documents and not overwritting the previous ones
So I can choose in "window" between the documents
thanks,
I want to open mutiple Word documents after selecting the documents in a PB application.
first i select a Blob object from the database :
blob lbl_doc
SELECTBLOB word_document INTO :lbl_doc
FROM harmony_document_template
where template_code = :as_template_code and the_language = :ls_language;
ole_1.ObjectData = lbl_doc
ole_1.Activate(OffSite!)
ole_1.Object.application.ActiveDocument.Add_Ref()
Add_Ref() ==> is a function in the VBA code of the document
if I do this code in a loop then he opens all the documents,
but he overwrites each time the documents
so i can only see the last document in Word
How can I open these documents and not overwritting the previous ones
So I can choose in "window" between the documents
thanks,