Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Buffering and TableRevert
Message
 
À
20/03/1997 21:45:46
Bill Gravell
Indoor Purification System
Menifee, Californie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00025004
Message ID:
00025168
Vues:
30
>>I made two similar apps, each with a data display form created with the one-table wizard. I then replaced the buttonbar with my own modified version. As far as I know, I didn't change any code related to table buffering. Each buttonbar has a Save and Revert button using TableUpdate and TableRevert. In app#1 they both work. In app#2 the Save works but Revert gives a "table buffering must be enabled" error. I discovered that the wizard never put a CURSORSETPROP command in, so I thought, fine, I'll put one in. But I wonder: Why do both Save and Revert work in App#1, and why does Save work in App#2?
>
>Sounds strange...I had something similar. turns out that I had one of the tables missing in the dataenvironment in the second form. Once I added it, the tablerevert worked just fine....
>
>Bill
Both apps have the appropriate table in the data environment. But I thought of a couple of other clues. 1. If the program crashes on the Tablerevert, the changes or added record are saved. That makes me think that the Tableupdate command isn't really doing anything, although it executes without error in App#2. I'm not sure if this is true in App#1. 2. The wizard uses APPEND BLANK rather than INSERT - SQL.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform