How to Place a Carriage Return in a Memo Field in FoxProLast reviewed: June 27, 1995Article ID: Q92358 |
The information in this article applies to:
To place a carriage return in a memo field using the REPLACE WITH command, the string must contain the ASCII code for the carriage return. For example, to place the following data in the "notes" memo field
TEXT TEXT2use the following code in the Command window, or in an application:
REPLACE notes WITH "TEXT"+CHR(13)+"TEXT2"NOTE: The ASCII code for a carriage return is CHR(13). NOTE: In FoxPro 2.5b, this code does not work if the contents of the memo field is copied to a text file and then opened in Notepad.
|
Additional reference words: FoxDos FoxWin 2.00 2.50 2.x CR 2.50a 2.50b
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |