Microsoft KB Archive/299681

= FIX: Syntax Error in Form Properties Makes Form Unusable =

Article ID: 299681

Article Last Modified on 10/15/2002

-

APPLIES TO


 * Microsoft Visual FoxPro 6.0 Professional Edition

-



This article was previously published under Q299681



SYMPTOMS
If you type a value that has a syntax error in one of the properties on a form, you may receive the following error message when run or save the form:

Syntax error.

After you receive the error message, you cannot modify or run the form.



STATUS
This problem was corrected in Microsoft Visual FoxPro version 7.0 for Windows.



Steps to Reproduce Behavior
  Save the following code as a program: *!* Q299681 FIX: Syntax Error in Form Properties Makes Form Unusable SET RESOURCE OFF _CLIPTEXT = &quot;(=DATE)&quot; LOCAL aobj[1], xx DELETE FILE testxx.sc? CREATE FORM testxx NOWAIT =ASELOBJ(aobj,1) xx = aobj[1] xx.AutoCenter = .t. xx.AddObject('txt1','textbox')  Click the text box and select the Value property in the Properties window. Use CTRL+V to paste the contents of the clipboard into the Value property. Save and run the form.

Keywords: kbbug kbfix kboop kbcodesnippet kbcontainer kbctrl kbvfp700fix KB299681

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.