Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding new records using Views??
Message
 
To
11/02/1999 18:25:12
Noman Aftab
Embry-Riddle Aeronautical University
Daytona Beach, Florida, United States
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00185916
Message ID:
00186896
Views:
15
>[...] 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
Previous
Reply
Map
View

Click here to load this message in the networking platform