Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why is the CA updating
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Why is the CA updating
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP1
Miscellaneous
Thread ID:
01110773
Message ID:
01110773
Views:
54
I am creating a CursorAdapter based on a tablename the front-end passes me. I create the select cmd, set .AllowUpdates and .AllowDeletes to .t. and send the object back to the front-end.

If the user wants to change the table name the CA is using to base the view filters on and seee new data, the front-end is setting the adapter object to null and then calling the function to build the adapter with the new table name. The problem is the changes are getting saved to the underlying tables without a TableUpdate() or any save code being run. I had the front-end coder change the .AllowUpdates and .AllowDeletes to .f. and try it and it still saves changes without any save type call.

Any idea on why? I do not have to set buffering on do I? The help doesn't discuss this aspect.
Next
Reply
Map
View

Click here to load this message in the networking platform