Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Deleting from an updatable view
Message
From
13/02/2001 17:34:14
Elyse Pomerantz
Dynamic Data Concepts, Inc.
Brooklyn, New York, United States
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00475437
Message ID:
00475501
Views:
29
>>I have a view that shows data from one table plus a look-up field from another table. I want to be able to delete a record from the main table without affecting the look-up table. How can I do this?
>>
>>Thanks,
>>Elyse
>
>As long as you have not made the lookup table part of the view updatable, all you need to do is delete the record in the view. When I include descriptive data from a lookup table in a view, the lookup table part of the view is never updatable. If you did not identify a key field for the lookup table, then that table does not get updated.

I don't want the lookup table to be updatable, but I'm getting an error implying that it's trying to update that table as well. I didn't specify a key field. How can I specify which table gets updated?
Elyse Pomerantz
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform