PRB: Unable to Reference SCX with Spaces in FilenameLast reviewed: January 10, 1997Article ID: Q156033 |
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
|
KBCategory: kbprg kbprb
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |