The information in this article applies to:
According to page C3-723 in the FoxPro 2.0 "Commands & Functions" manual and page L3-886 of the FoxPro 2.5 "Language Reference" manual, SET CARRY ON will "bring all fields from the current record to a new record." This statement is incorrect. SET CARRY ON will not bring forward memo or general fields. (Using SET CARRY TO and specifying the memo or general field also will not bring the memo or general field forward.) To copy the contents of a memo field to a new record, use the REPLACE command. For example:
NOTE: The following methods require that the system menu bars and
appropriate shortcut keys be available for _MED_COPY and _MED_PASTE, and
that the menu be active and available (SET SYSMENU ON or SET SYSMENU
AUTOMATIC).
To copy a general field, use the following code:
To carry all information from all fields, except for general fields, into a
new record, use one of the following methods:
Method 1
Method 2
Additional query words: VFoxWin FoxDos FoxWin docerr
Keywords : kbcode FxprgGeneral |
Last Reviewed: August 24, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |