Index
1999-08-21 22:06 – Bill Arnold, bill@wjarnold.com: VFP6: Syntax error - now can't modify form?
1999-08-21 23:24 – Bill Arnold, bill@wjarnold.com: RE: VFP6: Syntax error - now can't modify form?
1999-08-21 23:49 – Ed Leafe, ed@leafe.com: Re: VFP6: Syntax error - now can't modify form?
1999-08-22 00:01 – Abergquis@cs.com: Re: VFP6: Syntax error - now can't modify form?
1999-08-22 00:31 – Bill Arnold, bill@wjarnold.com: RE: VFP6: Syntax error - now can't modify form?
1999-08-22 14:47 – Walt, wmiller@innercite.com: Re: VFP6: Syntax error - now can't modify form?
Back to top
VFP6: Syntax error - now can't modify form?

Author: Bill Arnold, bill@wjarnold.com

Posted: 1999-08-21 22:06:26   Link

Tried to change a forms caption to include some variables.

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?

Bill

©1999 Bill Arnold, bill@wjarnold.com
Back to top
RE: VFP6: Syntax error - now can't modify form?

Author: Bill Arnold, bill@wjarnold.com

Posted: 1999-08-21 23:24:42   Link

Hi Ed,

I wound up restoring a backup and redoing changes, but I think I saved the

bad form and will try this on it - plus I'll be sure to save the procedure

for future reference. This is the first time I've gotten bitten by this type

of problem, but I don't think it will be the last (I like to experiment

<g>).

Actually, I did use and browse the .scx for the form, but it was just a maze

of memos, and peeking into several, I didn't see the expression I entered,

which I thought would be key to finding the problem, but now I see which one

I should have looked for.

Thanks much!

Bill

-----Original Message-----

From: profox@leafe.com [mailto:profox@leafe.com]On Behalf Of Ed Leafe

Sent: Saturday, August 21, 1999 11:49 PM

To: Multiple recipients of ProFox

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

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 Bill Arnold, bill@wjarnold.com
Back to top
Re: VFP6: Syntax error - now can't modify form?

Author: Ed Leafe, ed@leafe.com

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

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
Back to top
Re: VFP6: Syntax error - now can't modify form?

Author: Abergquis@cs.com

Posted: 1999-08-22 00:01:57   Link

Bill,

Are you trying to set the form's caption via (1) the Property Sheet or (2) in

method code?

Art Bergquist

abergquis@cs.com

In a message dated 8/21/99 7:51:49 PM Pacific Daylight Time,

bill@wjarnold.com writes:

> Tried to change a forms caption to include some variables.

>

> 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?

>

> Bill

>

©1999 Abergquis@cs.com
Back to top
RE: VFP6: Syntax error - now can't modify form?

Author: Bill Arnold, bill@wjarnold.com

Posted: 1999-08-22 00:31:16   Link

Art, it was in the form designer, using the property sheet. I've recovered

now, and have tucked away Ed's procedure for future reference.

Bill

-----Original Message-----

From: profox@leafe.com [mailto:profox@leafe.com]On Behalf Of

Abergquis@cs.com

Sent: Sunday, August 22, 1999 12:02 AM

To: Multiple recipients of ProFox

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

Bill,

Are you trying to set the form's caption via (1) the Property Sheet or (2)

in

method code?

Art Bergquist

abergquis@cs.com

In a message dated 8/21/99 7:51:49 PM Pacific Daylight Time,

bill@wjarnold.com writes:

> Tried to change a forms caption to include some variables.

>

> 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?

>

> Bill

>

©1999 Bill Arnold, bill@wjarnold.com
Back to top
Re: VFP6: Syntax error - now can't modify form?

Author: Walt, wmiller@innercite.com

Posted: 1999-08-22 14:47:16   Link

Open your form as a table and fix in the command window:

use myform.scx

You'll probably find it in the properties field for the form row.

----- Original Message -----

From: Bill Arnold <bill@wjarnold.com>

To: Multiple recipients of ProFox <profox@leafe.com>

Sent: Saturday, August 21, 1999 7:06 PM

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

> Tried to change a forms caption to include some variables.

>

> 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?

>

> Bill

>

>

>

©1999 Walt, wmiller@innercite.com