Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
RECALL with updateable views - bug?
Message
From
06/07/2003 19:40:54
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00807071
Message ID:
00807313
Views:
21
>I was getting duplicate keys in an app using an updateable local view to update a free table. Yesterday I discovered that recalling a deleted record in a view DOES NOT RECALL the record in the base table, but actually creates a new record, a duplicate!!!
>
>Unless I missed something, this makes updateable views not only useless, but extremely dangerous.
>

Hi Dory,

You missed a very important detail - local/remote view is a SQL VIEW. RECALL is not a SQL command. In VFP, SQL view modifies a base table using SQL-DELETE, SQL-UPDATE, SQL-INSERT, none of those commands recalls deleted records.

Thanks,
Aleksey.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform