Re: VFP6: Syntax error - now can't modify form?

Author: Ed Leafe, ed@leafe.com

Posted: 1999-08-21 at 23:49:19

On 8/21/99 10:06 PM, Bill Arnold supposedly said:

>When I tested the form, evidentially, I have a syntax error in the

>expression. Now when I try to edit the form to fix the problem, I'm getting

>"syntax error" when I attempt to modify the form in project manager, and it

>wouldn't let me back into the form.

>Looks like a bug in VFP. Has anyone else hit this? More importantly, the

>form has some changes since last backup - does anyone know how to get past

>this?

Open the SCX as a table, and then remove the problem caption

property from the form entry. The code you need would be:

USE MyForm.SCX

BROWSE FOR baseclass = "form"

Now open the memo field named "Properties", and remove the line starting

with "Caption=". The issue USE to close the SCX, and then do COMPILE FORM

MyForm to make sure everything is updated. You should now be able to MODI

FORM MyForm without a problem, assuming that the Caption setting was the

cause.

___/

/

__/

/

____/

Ed Leafe

http://leafe.com/

©1999 Ed Leafe, ed@leafe.com