Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding new records using Views??
Message
 
À
11/02/1999 18:25:12
Noman Aftab
Embry-Riddle Aeronautical University
Daytona Beach, Floride, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00185916
Message ID:
00186896
Vues:
16
>[...] my views cant be reverted and when they did (for some reason) an error came up specifying that alias (...) has uncommitted changes. Can you tell me what might be causing this and how can I get rid of this error. Actually this error comes up when I try to do REQUERY() when form is refreshed.

What's causing it is that when you do the REQUERY() you have some uncommitted changes still in the buffer. You have to either TABLEUPDATE() to commit them, or TABLEREVERT() to revert them, before REQUERY()ing the data source. It sounds like you confused REQUERY() with TABLEREVERT(). REQUERY() re-fetches the data from the table. TABLEREVERT() undoes the changes in the current buffer.

HTH,
Rich.
Rich Addison, Micro Vane, Inc., Kalamazoo, MI
Relax, don't worry, have a homebrew.
- Charlie Papazian, The New Complete Joy of Home Brewing
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform