Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Saving records issue...
Message
 
À
08/08/2007 13:18:58
Dan Mccoy
Database Applications Development
Lancaster, New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Novell 3.x
Database:
Visual FoxPro
Divers
Thread ID:
01246827
Message ID:
01246830
Vues:
22
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform