ACC95: Incorrect Word DDE Example in Building ApplicationsLast reviewed: June 3, 1997Article ID: Q153465 |
The information in this article applies to:
SYMPTOMSAdvanced: Requires expert coding, interoperability and multi-user skills. The Word Basic sample procedure on page 290 of the "Building Applications with Microsoft Access for Windows 95" manual does not properly create the Mydata.txt text file.
CAUSEThe Mydata.txt text file is created incorrectly because of a misspelled variable, strData. This causes a "0" to appear in the text file instead of the actual data from the correct variable, strData$.
RESOLUTIONThis article assumes that you are familiar with Word Basic and with creating Microsoft Word documents using the programming tools provided with Microsoft Word. Change the following line in the sub MAIN procedure
Print #1, strDatato read as follows:
Print #1, strData$ REFERENCESFor more information about using DDE, search on the phrase "DDE Server" using the Answer Wizard from the Microsoft Access for Windows 95 Help menu. Select and then view "Using Microsoft Access as a DDE Server." |
Keywords : DcmMnl IntpDde kbinterop
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |