Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Updating with local views
Message
De
28/04/1999 14:46:36
 
 
À
28/04/1999 14:07:22
Scott Knight
Human Resources Development Canada
St. John's, Terre-Neuve, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00213085
Message ID:
00213115
Vues:
32
Are you buffering the view only or both the view and the table? You need to buffer the view only. Otherwise, you will need to issue a TableUpdate() on the table also to save the record.

HTH

>I have a local view that has table buffering set. I seem access and update client records fine (without error) using tableupdate(). However a very strange thing happens if I do not exit the app or switch to another client. When I debug prior to the tableupdate()data.surname = "King" and view.surname = "Knight" which is normal. After error free tableupdate() the data.surname = "Knight" and the view.surname = "Knight" which is again normal. If I select * from data and browse for the updated record, the queried result set shows the original surname of "King" vs the updated surname of "Knight". If I exit the app everything has saved correctly or if I access another client then re-run the query it will give me the correct surname. Does anyone have any I dea why this happens ?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform