Home » Developer & Programmer » Forms » Problems exporting data from Forms to MS Word bookmarks (DDE.POKE)
icon5.gif  Problems exporting data from Forms to MS Word bookmarks (DDE.POKE) [message #134646] Thu, 25 August 2005 23:21 Go to next message
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 #145421 is a reply to message #134646] Wed, 02 November 2005 23:26 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Did you solve your problem?

David
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 messageGo to next message
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
Re: Problems exporting data from Forms to MS Word bookmarks (DDE.POKE) [message #145428 is a reply to message #145427] Thu, 03 November 2005 00:13 Go to previous message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Thank you for your response.

David
Previous Topic: Login to database via Forms
Next Topic: delay prob
Goto Forum:
  


Current Time: Fri Sep 20 01:29:24 CDT 2024