ACC95: Incorrect Word DDE Example in Building Applications (153465)
The information in this article applies to:
- Microsoft Access for Windows 95 7.0
This article was previously published under Q153465 SYMPTOMS
Advanced: 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.
CAUSE
The 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$.
RESOLUTION
This 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, strData
to read as follows:
Print #1, strData$
REFERENCES
For 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."
Modification Type: | Major | Last Reviewed: | 11/17/2000 |
---|
Keywords: | kbinterop KB153465 |
---|
|