Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Writing to a new Table
Message
 
 
À
15/12/2009 19:06:49
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
OS:
Windows 7
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01439105
Message ID:
01439270
Vues:
43
>hmm so I looked at your code I always read buffering was to protect data during updating never quite got that part .Also i dont really follow your save code....nor do i trust mine
>I wrote code to a field then hit save then i browsed the data was there
>in the save button i had(tableupdate() then i added what you sent)
>
>then i ran the form again...wrote in a name then without pressing save i browsed the table...sure enought the new data was there(in the table) without i attempted to save. In that case the only way i could ensure that no data was saved without i wanted it done was putting a revert in the close button and upon destruction of the form now our saves dont work.:D is it because i have table revert when i close the form?

Yes, on a buffered table TABLEUPDATE saves information to a table and TABLEREVERT restores information to the original state.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform