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?
2000-11-21 16:41 – Dimitri Leventis : Can not modify form
2000-11-21 16:47 – Matthew Jarvis : RE: Can not modify form
2000-11-22 12:08 – Dimitri Leventis : Re: Can not modify form
2004-12-14 23:49 – Malcolm Greene : Show modify form windows in a Top Level 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
Back to top
Can not modify form

Author: Dimitri Leventis

Posted: 2000-11-21 16:41:57   Link

I was working on a form and I started getting syntax error when I tried

to modify it.

Any suggestions how I can get this form back. I can see it in the class

browser but I can not open it any other way.

Dimitri

©2000 Dimitri Leventis
Back to top
RE: Can not modify form

Author: Matthew Jarvis

Posted: 2000-11-21 16:47:42   Link

charset="iso-8859-1"

Dimitri-

Can you open the SCX as a table, as in USE MYFORM.SCX ?

If so, browse the Class and Classloc fields and make sure the references are

valid. You might try PACKing the SCX table as well.

Seems to me that records 6 and/or 7 are the ones that cause this error.

Matt

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

From: Dimitri Leventis [mailto:leventis@gate.net]

Sent: Tuesday, November 21, 2000 1:42 PM

To: Multiple recipients of ProFox

Subject: Can not modify form

I was working on a form and I started getting syntax error when I tried

to modify it.

Any suggestions how I can get this form back. I can see it in the class

browser but I can not open it any other way.

Dimitri

----------------------------------------

Subscription maintenance at:

http://leafe.com/mailListMaint.html

©2000 Matthew Jarvis
Back to top
Re: Can not modify form

Author: Dimitri Leventis

Posted: 2000-11-22 12:08:01   Link

Content-Transfer-Encoding: 7bit

I opened the file and deleted the records, textbox, that I thought

caused the problem. That did it. Thanks Mathew.

Dimitri

Matthew Jarvis wrote:

> Dimitri-

>

> Can you open the SCX as a table, as in USE MYFORM.SCX ?

>

> If so, browse the Class and Classloc fields and make sure the

> references are valid. You might try PACKing the SCX table as well.

>

> Seems to me that records 6 and/or 7 are the ones that cause this

> error.

>

> Matt

©2000 Dimitri Leventis
Back to top
Show modify form windows in a Top Level form

Author: Malcolm Greene

Posted: 2004-12-14 23:49:36   Link

Is there a trick to using "MODIFY FORM" type windows launched from Top

Level forms with SCREEN=OFF.

I would like to be able to have a user launch MODIFY FORM style windows

as a quick way to offer a built in editor type function for working with

some large text files. The alternative would be to code a form

containing just an editbox, but I believe there are limits on the size

of content one can place in an editbox.

Thanks!

Malcolm

©2004 Malcolm Greene