Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Saving records issue...
Message
 
To
08/08/2007 13:18:58
Dan Mccoy
Database Applications Development
Lancaster, New York, United States
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Novell 3.x
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01246827
Message ID:
01246830
Views:
21
Check if be you have included your database, tables or views in the project
If they are included in the EXE file they are read only and cannot be updated.

In the project explorer you must right click
on the databases, tables or views to exclude them from the exe.
Then rebuild your exe file.
HTH

>I have created an application thet in the course of normal user input a new record is saved to a VFP table. I have tested and re-tested entering records via this app from within the VFP IDE and it all works fine. However when I compiled to an executable and then tested it I get the following error message when I attempt to save a record: "Cannot update the cursor pfinv_head since it is read-only." The confusing thing is that the "cursor" (pfinv_head) is not a cursor but a table. An actual database file and part of a dbc. I am unsure as to why I can't save to it when my app is compiled to an executable, but can when running it from the VFP ide. Anybody out there have any suggestions???
>
>Thanks,
>Dan
_______________________________________________________________
Testing displays the presence, not the absence of bugs.
If a software application has to be designed, it has to be designed correctly!
_______________________________________________________________
Vladimir Zografski
Systems Analyst
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform