PRB: SHOW GET <Var> ENABLE/DISABLE on Zero-Length MemvarID: Q116036 The information in this article applies to:
SYMPTOMSIf you set a memory variable equal to "" (an empty string of zero length) in order to clear out the variable GET field, and you then disable the field with the SHOW GET <var> DISABLE command, FoxPro will clear the memory variable and disable the field; however, if you later want to enable the field, the field won't be accessible after you issue the SHOW GET <var> ENABLE command because the memory variable has no value to display.
RESOLUTIONInstead of assigning the memory variable to "", assign the memory variable to a string of spaces the length of the memory variable. For example:
Additional reference words: FoxMac FoxDos FoxWin 2.00 2.50 2.50a 2.50b
2.50c
memvar
KBCategory: kbenv kbprg kbprb
KBSubcategory: FxenvMemory
|
|
Last Reviewed: June 27, 1995 © 1999 Microsoft Corporation. All rights reserved. Terms of Use. |