Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cursor Update Error

Status
Not open for further replies.

alisaif

ISP
Apr 6, 2013
418
AE
Hi,

I am facing an error on LAN while working fine in Project Manager.

Please guide.
custcode_g3wuzz.jpg


Thanks

Saif
 
Well, the obvious question is: Is it read-only?

If CustCost is a cursor (as opposed to a DBF), and if you created the cursor via SQL SELECT, then it will be read-only by default, and you won't be able to update it. To get round that, you need to add a READWRITE clause to the SELECT.

If it is a DBF, check the file attributes. Also check your permissions on the LAN.

And what exactly do you mean when you say it is "working fine in the Project Manager"? How are you trying to update a table in the Project Manager?

Mike

__________________________________
Mike Lewis (Edinburgh, Scotland)

Visual FoxPro articles, tips and downloads
 
Thanks for the reply!

It is DBF. I created it using New in Project Manager like other tables.

Thanks

Saif
 
You have embedded the DBF into your EXE most probably. Exclude it.

Bye, Olaf.
 
If that's the case then look at the file attributes, as Mike already suggested.

Bye, Olaf.
 
Thanks and sorry for the trouble, I checked it was network issue.

Thanks

Saif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top