Problems exporting data from Forms to MS Word bookmarks (DDE.POKE) [message #134646] |
Thu, 25 August 2005 23:21 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
SchroederDirk
Messages: 5 Registered: August 2005 Location: Hamburg, Germany
|
Junior Member |
|
|
Hi!
I am using DDE Package (DDE.POKE) to export data from FORMS to various bookmarks in a MS Word document.
There are 2 bookmarks in a table (MSWord Table) within this document.
The call is
dde.poke (docid, bookmark, value, dde.cf_text, 100000);
As long as the MSWord Table contains no more than one row, this will work fine.
Has the table more than one row, I get the error "DDE.DMLERR_NOTPROCESSED" and the value is not passed.
The referenced bookmark exists and is spelled correctly.
I am using Forms 6.0 and Word 2002 on a WinXPProfessional Platform.
Has anyone an idea how to send data to these bookmarks?
Thanks!
Regards,
Dirk
|
|
|
|
Re: Problems exporting data from Forms to MS Word bookmarks (DDE.POKE) [message #145427 is a reply to message #145421] |
Thu, 03 November 2005 00:11 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
SchroederDirk
Messages: 5 Registered: August 2005 Location: Hamburg, Germany
|
Junior Member |
|
|
We solved the problem using a workaround.
We moved the bookmarks to the main section outside the Word tables and outside the printable area.
This bookmarks are filled by Oracle.
Then we created data fields within the MS-Word tables referencing these bookmarks.
A macro refreshes the data fields with the content of the bookmarks.
This is not a very good solution, but we have no other solution until now.
Dirk
|
|
|
|