DOCUMENT:Q137955 21-AUG-1999 [foxpro] TITLE :PRB: "Error loading file..." When Opening a Form PRODUCT :Microsoft FoxPro PROD/VER:3.0 OPER/SYS: KEYWORDS:kbtool kbvfp ====================================================================== ------------------------------------------------------------------------------- The information in this article applies to: - Microsoft Visual FoxPro for Windows, version 3.0 ------------------------------------------------------------------------------- SYMPTOMS ======== When you are trying to open a form for modification, the following error appears: Error loading file - ControlSource - record number x (where x is an integer). Parent will not allow this property setting for form1.grid1.column1.text1.controlsource. You can't change the setting because the form will not open. CAUSE ===== The form will not open if any errors are detected. RESOLUTION ========== 1. In the Command window, use the USE Myform.scx command to open the form as a table. Then use the BROWSE command to browse the table. 2. Go to the appropriate record that caused the error as indicated in the error message. 3. Modify the Properties memo field by double-clicking it and removing the line that says ControlSource=. 4. Close the Browse window. 5. Type USE in the Command window to close the table. STATUS ====== This behavior is by design. MORE INFORMATION ================ Steps to Reproduce Behavior --------------------------- 1. Create a new form called Myform.scx. 2. Add a table to the data environment 3. Create a grid by dragging the table from the data environment to the form. 4. Change the properties in the following order: Object Property Value --------------------------------------------------- Grid1 ColumnCount 1 Grid1.Column1 Bound .F. Grid1.Column1.Text1 ControlSource Grid1.Column1 Bound .T. 5. Save and close the form. 6. Open the form. The error message appears. Additional query words: ====================================================================== Keywords : kbtool kbvfp Technology : kbVFPsearch kbAudDeveloper kbVFP300 Version : 3.0 Issue type : kbprb ============================================================================= THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY. Copyright Microsoft Corporation 1999.