Microsoft KB Archive/194832

= FIX: Memo Has Characters Added to Value in Locals/Watch Window =

Article ID: 194832

Article Last Modified on 8/21/1999

-

APPLIES TO


 * Microsoft Visual FoxPro 5.0 Standard Edition
 * Microsoft Visual FoxPro 5.0a

-



This article was previously published under Q194832



SYMPTOMS
When you place a memo field name into the Debugger Watch Window, the value that displays may contain extra characters appended to the end of the memo field's actual contents.

This behavior does not occur in Visual FoxPro 6.0



STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. This bug has been corrected in Visual FoxPro 6.0.



Steps to Reproduce Behavior
  Run the following code from a program (.prg) file: _CLIPTEXT = 'mymemo' CREATE CURSOR CTEMP(MYMEMO M(4)) APPEND BLANK REPLACE MYMEMO WITH 'Junk' CLEAR DEBUG KEYBOARD '{alt+3}{ctrl+v}{enter}'   Look at the value of mymemo in the Watch Window.

The value for mymemo in the Watch window contains something like the following: "Junk|", or "JunkW      TTOOLBAR    Debugger                L ST       " 

The extra characters vary depending on what you were doing in Visual FoxPro before you look at the value in the Watch Window.

