FIX: Custom Form Property Set to () Causes Infinite Loop

Last reviewed: October 20, 1997
Article ID: Q129981
3.00 3.00b WINDOWS kbtool kbbuglist kbfixlist

The information in this article applies to:

  • Microsoft Visual FoxPro for Windows, versions 3.0, 3.0b

SYMPTOMS

When a form is run with a DO FORM command, it appear to enter an infinite loop, and you cannot release it. When the same form is modified with a MODIFY FORM command, a Syntax Error is displayed. It is not possible to open the form.

CAUSE

The value of a custom property has been incorrectly set to (); that is, the value starts and ends with a parenthesis.

WORKAROUND

You can manually open the form (SCX table) by using a USE command. Browse the SCX table, and edit the Properties memo field to remove the property that is causing the error. Then close the SCX table, and compile the form by using the COMPILE FORM <name> command. Once the cause of the error has been removed, you can edit the form with a MODIFY FORM command.

NOTE: manually editing the SCX table should be performed as a last resort. Use extreme caution when deleting data from the SCX table.

If you must set a default value of () for the property, place quotation marks around the the expression in the property sheet.

STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem has been fixed in Visual FoxPro 5.0 for Windows.

When you attempt to modify the form in Visual FoxPro 5.0, the "Syntax Error" message appears. However, the form opens.

MORE INFORMATION

Steps to Reproduce Problem

  1. Create a form.

  2. Add a new property.

  3. Change the property value to ().

  4. Save and close the form.

  5. Type MODIFY FORM <form> to edit the form.


KBCategory: kbtool kbbuglist kbfixlist
KBSubcategory: FxtoolFormdes fixlist5.00 VFoxWin buglist3.00 buglist3.00b
Additional reference words: 3.00 3.00b evaluate
Keywords : buglist3.00 buglist3.00b fixlist5.00 FxtoolFormdes vfoxwin kbbuglist kbfixlist kbtool
Version : 3.00 3.00b
Platform : WINDOWS
Solution Type : kbfix


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.

Last reviewed: October 20, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.