How to Insert a Date into a Memo FieldID: Q130405 The information in this article applies to:
SUMMARYThis article shows by example how to insert the current date into a memo field.
MORE INFORMATION
Step-by-Step Example1. Create or use a database that contains a memo field. 2. Create a test screen, and include the memo field. 3. In the screen layout code, give the screen a name such as Test. 4. In the setup code of the screen, type this code:
5. In the WHEN clause of the memo field add the following, replacing <memo
6. Create a program named INS.PRG that contains the following code:
Any time the screen is run and the F12 key is pressed the program executes
and the system date is inserted into the memo field.
Additional reference words: FoxWin 2.60a KBCategory: kbprg kbcode KBSubcategory: FxprgGeneral |
|
Last Reviewed: July 5, 1995 © 1999 Microsoft Corporation. All rights reserved. Terms of Use. |