I have the lastest vfp7 sp1 download installed.

Before sp1 update I had "cannot update cursor" error when
indexing a view! Sp1 fixed that error.

Now I am getting same error when I attempt a "replace" in
a table, not a view but a table. Code runs OK when using
vfp v7 but when I copy code to CD, all the code and all
the microsoft shared modules, I get the error.

Appearently other people have had problems with replace. I
amended code as some recommended but nothing helps.

Thanks, Ron

Re: "cannot update cursor" error using "replace" by Roger

Roger
Fri Aug 08 10:37:03 CDT 2003

"Ron Cherry" <cherry@roncherry.com> wrote in message news:09c601c35dbf$6f67b4b0$a501280a@phx.gbl...
> I have the lastest vfp7 sp1 download installed.
>
> Before sp1 update I had "cannot update cursor" error when
> indexing a view! Sp1 fixed that error.
>
> Now I am getting same error when I attempt a "replace" in
> a table, not a view but a table. Code runs OK when using
> vfp v7 but when I copy code to CD, all the code and all
> the microsoft shared modules, I get the error.

What do you mean by "copy code to CD"?
Have you copied the tables to a CD, then copied the CD
contents to an end-users's hard drive? If so, the tables
will probably be marked as "read only".
If you are transferring tables (or anything for that matter) from
your development PC to an end-user via CD-ROM, at the
very least you should Zip them, then copy the zip to the CD.
Better still, use InstallShield.
OTOH, maybe I've misunderstood.

[snipped rest]

Roger
--
Roger Ansell
Adelaide, Australia

My real email address is ransell at senet dot com dot au



RE: "cannot update cursor" error using "replace" by Leemi

Leemi
Fri Aug 08 10:46:53 CDT 2003

Hi Ron:

Here are some items to look at:

1. Is the table marked as read only?
2. Are you opening the table with the NOUPDATE clause of the USE command?
3. Can you use the REPLACE command on the table from the Command window in
VFP?
4. Are your VFP temp files pointed to a valid folder? (Check this with the
SYS(2023) function).
5. Is the table part of a DBC? If so, issue a VALIDATE DATABASE RECOVER
command on the DBC file.

I hope this helps.

This posting is provided "AS IS" with no warranties, and confers no rights.

Sincerely,
Microsoft FoxPro Technical Support
Lee Mitchell

*-- VFP8 HAS ARRIVED!! --*
Read about all the new features of VFP8 here:
http://www.universalthread.com/VisualFoxPro/News/VFP8Release.asp
Purchase VFP8 here:
http://shop.microsoft.com/Referral/Productinfo.asp?siteID=11518

Keep an eye on the product lifecycle for Visual FoxPro here:
http://support.microsoft.com/default.aspx?id=fh;[ln];lifeprodv
- VFP5 Mainstream Support retires June 30th, 2003
- VFP6 Mainstream Support retires Sept. 30th, 2003


>I have the lastest vfp7 sp1 download installed.

>Before sp1 update I had "cannot update cursor" error when
>indexing a view! Sp1 fixed that error.

>Now I am getting same error when I attempt a "replace" in
>a table, not a view but a table. Code runs OK when using
>vfp v7 but when I copy code to CD, all the code and all
>the microsoft shared modules, I get the error.

>Appearently other people have had problems with replace. I
>amended code as some recommended but nothing helps.

>Thanks, Ron




Re: "cannot update cursor" error using "replace" by Esparta

Esparta
Fri Aug 08 12:51:09 CDT 2003

6.- Is your table (or DBC) included in your proyect?, Exclude it.

--
Apoya a Visual FoxPro usándolo legalmente
¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º
Espartaco Palma Martínez
SysOp PortalFox ( http://www.PortalFox.com )
email: mexicoQUITARESTO@portalfox.com
Acapulco, Guerrero. México
---

Lee Mitchell wrote:

> Hi Ron:
>
> Here are some items to look at:
>
> 1. Is the table marked as read only?
> 2. Are you opening the table with the NOUPDATE clause of the USE command?
> 3. Can you use the REPLACE command on the table from the Command window in
> VFP?
> 4. Are your VFP temp files pointed to a valid folder? (Check this with the
> SYS(2023) function).
> 5. Is the table part of a DBC? If so, issue a VALIDATE DATABASE RECOVER
> command on the DBC file.
>
> I hope this helps.
>
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
> Sincerely,
> Microsoft FoxPro Technical Support
> Lee Mitchell
>
> *-- VFP8 HAS ARRIVED!! --*
> Read about all the new features of VFP8 here:
> http://www.universalthread.com/VisualFoxPro/News/VFP8Release.asp
> Purchase VFP8 here:
> http://shop.microsoft.com/Referral/Productinfo.asp?siteID=11518
>
> Keep an eye on the product lifecycle for Visual FoxPro here:
> http://support.microsoft.com/default.aspx?id=fh;[ln];lifeprodv
> - VFP5 Mainstream Support retires June 30th, 2003
> - VFP6 Mainstream Support retires Sept. 30th, 2003
>
>
>
>>I have the lastest vfp7 sp1 download installed.
>
>
>>Before sp1 update I had "cannot update cursor" error when
>>indexing a view! Sp1 fixed that error.
>
>
>>Now I am getting same error when I attempt a "replace" in
>>a table, not a view but a table. Code runs OK when using
>>vfp v7 but when I copy code to CD, all the code and all
>>the microsoft shared modules, I get the error.
>
>
>>Appearently other people have had problems with replace. I
>>amended code as some recommended but nothing helps.
>
>
>>Thanks, Ron
>
>
>
>