PRB: Cannot DDEPoke More Than 255 Characters of TextArticle ID: Q101087Creation Date: 04-JUL-1993 Revision Date: 19-SEP-1996
The information in this article applies to:
SYMPTOMS
When an Access Basic function uses the DDEPoke statement to send data
to another application, Microsoft Access will not send more than 255
characters. Any data beyond the 255th character will not be sent. No
error message will be generated.
RESOLUTION
Although the DDEPoke statement will not send more than 255 characters,
you may be able to use the DDESend() function instead. The DDESend()
function, which can only be used from the ControlSource property of a
text box on a form, is capable of sending more than 255 characters.
The following example demonstrates how to use the DDESend() function
to send characters to Microsoft Word for Windows.
Option Explicit
? DDEPokeTest() |
THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.