Why is it after I define a new method: ie, GetRecord
that Foxpro dies when I assign this method as follows:

THISFORM.GetRecord (

and the moment I enter the ( I get the following error: Fatal Error
Exception Code=C0000005.

This Method has LPARAMETERS and I am simply trying to pass them.
This is VFP7 with SP2 and thats as good as it gets. If I paste
GetRecord ("Delete") it works fine, as long as I don't do this within
the Foxpro environment...

Am I missing some important update?

Thanks for your help

Re: New Method by Paul

Paul
Fri Jan 07 00:43:23 CST 2005

I tried it on VFP7 and didn't have such a problem.

Maybe something is wrong with foxcode.dbf. Try replacing that with a new
one.

Also try recreating that form from scratch - there might be something
corrupt in it.

I would also recommend that you upgrade. I got a lot of C5 errors with VFP7.
Those went away with version 8. VFP9 was released just a couple weeks ago,
so I'd go for that one.

BTW, where did you get SP2? I know of only one service pack for VFP7.



"Jim" <jimDontWantAnyEmail.com> wrote in message
news:ufvrt0dc4572f45d0155i9u6k256vi7nkf@4ax.com...
> Why is it after I define a new method: ie, GetRecord
> that Foxpro dies when I assign this method as follows:
>
> THISFORM.GetRecord (
>
> and the moment I enter the ( I get the following error: Fatal Error
> Exception Code=C0000005.
>
> This Method has LPARAMETERS and I am simply trying to pass them.
> This is VFP7 with SP2 and thats as good as it gets. If I paste
> GetRecord ("Delete") it works fine, as long as I don't do this within
> the Foxpro environment...
>
> Am I missing some important update?
>
> Thanks for your help



Re: New Method by tom

tom
Fri Jan 07 03:55:48 CST 2005

Hi Jim,

I had this sometimes, it seems to be a damaged internal intellisense table.
Enter "do foxcode.app" and select the maintenance.

HTH
Tom



"Jim" <jimDontWantAnyEmail.com> schrieb im Newsbeitrag
news:ufvrt0dc4572f45d0155i9u6k256vi7nkf@4ax.com...
> Why is it after I define a new method: ie, GetRecord
> that Foxpro dies when I assign this method as follows:
>
> THISFORM.GetRecord (
>
> and the moment I enter the ( I get the following error: Fatal Error
> Exception Code=C0000005.
>
> This Method has LPARAMETERS and I am simply trying to pass them.
> This is VFP7 with SP2 and thats as good as it gets. If I paste
> GetRecord ("Delete") it works fine, as long as I don't do this within
> the Foxpro environment...
>
> Am I missing some important update?
>
> Thanks for your help



Re: New Method by Jack

Jack
Fri Jan 07 15:29:23 CST 2005

On Thu, 06 Jan 2005 20:23:15 -0700, Jim <jimDontWantAnyEmail.com>
wrote:

>Why is it after I define a new method: ie, GetRecord
>that Foxpro dies when I assign this method as follows:
>
>THISFORM.GetRecord (
>
>and the moment I enter the ( I get the following error: Fatal Error
>Exception Code=C0000005.
>
>This Method has LPARAMETERS and I am simply trying to pass them.
>This is VFP7 with SP2 and thats as good as it gets. If I paste
>GetRecord ("Delete") it works fine, as long as I don't do this within
>the Foxpro environment...

It's a bug in Intellisense. I had to turn off Intellisense by
default, and turn it on when I needed it. It's fixed in VFP8.

None of the fixes suggested by the others in this thread worked for
me.


Re: New Method by Paul

Paul
Fri Jan 07 17:19:53 CST 2005


"Jack Jackson" <jacknospam@pebbleridge.com> wrote in message
news:2nvtt0dij8s4fbm3jllfirchpu4egj3pg9@4ax.com...
> On Thu, 06 Jan 2005 20:23:15 -0700, Jim <jimDontWantAnyEmail.com>
> wrote:
>
>>Why is it after I define a new method: ie, GetRecord
>>that Foxpro dies when I assign this method as follows:
>>
>>THISFORM.GetRecord (
>>
>>and the moment I enter the ( I get the following error: Fatal Error
>>Exception Code=C0000005.
>>
>>This Method has LPARAMETERS and I am simply trying to pass them.
>>This is VFP7 with SP2 and thats as good as it gets. If I paste
>>GetRecord ("Delete") it works fine, as long as I don't do this within
>>the Foxpro environment...
>
> It's a bug in Intellisense. I had to turn off Intellisense by
> default, and turn it on when I needed it. It's fixed in VFP8.
>
> None of the fixes suggested by the others in this thread worked for
> me.
>

Ahem... "Someone" suggested upgrading to a new version of FoxPro.




Re: New Method by gerry

gerry
Sat Jan 08 06:13:05 CST 2005

I have seen this error in both vfp8 & vfp9


"Jack Jackson" <jacknospam@pebbleridge.com> wrote in message
news:2nvtt0dij8s4fbm3jllfirchpu4egj3pg9@4ax.com...
> On Thu, 06 Jan 2005 20:23:15 -0700, Jim <jimDontWantAnyEmail.com>
> wrote:
>
> >Why is it after I define a new method: ie, GetRecord
> >that Foxpro dies when I assign this method as follows:
> >
> >THISFORM.GetRecord (
> >
> >and the moment I enter the ( I get the following error: Fatal Error
> >Exception Code=C0000005.
> >
> >This Method has LPARAMETERS and I am simply trying to pass them.
> >This is VFP7 with SP2 and thats as good as it gets. If I paste
> >GetRecord ("Delete") it works fine, as long as I don't do this within
> >the Foxpro environment...
>
> It's a bug in Intellisense. I had to turn off Intellisense by
> default, and turn it on when I needed it. It's fixed in VFP8.
>
> None of the fixes suggested by the others in this thread worked for
> me.
>