The information in this article applies to:
SYMPTOMSIf a form contains spaces in its file name, you may be unable to reference the form object created when this form is run either from program code or in the Debug or Watch window. RESOLUTIONSuccessfully referencing form objects by SCX name requires replacing any space character(s) with underscores. STATUSThis behavior is by design. MORE INFORMATIONWhen a form is created by the DO FORM command, Visual FoxPro attempts to use the filename, minus the .SCX extension, as a variable to store the object reference for the form. If the filename contains spaces, Visual FoxPro determines that it is not a valid variable name and transforms it into something valid by replacing the spaces with underscores. Steps to Reproduce Behavior
Additional query words: kbdse VFoxWin
Keywords : kbVFp300 kbVFp500 kbVFp600 FxtoolDebug FxtoolFormdes |
Last Reviewed: December 13, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |