Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Updating tables with views question.
Message
From
02/02/2003 12:22:02
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00747334
Message ID:
00748184
Views:
23
>I have a basic design question about views.
>
>I've been placing multiple tables in one view where more than one of these tables is being updated by the view. I've been told that it's not a good idea to be updating more than one table in a view at a time. I had assumed that doing so whould acutally be better and more stable (as I only have to issue one tableudpate() command instead of 2 or 3) - but like I said now I'm hearing otherwise. Anyone have any thoughts on this?
>Thanks!

I think the views will get quite confusing when you try to update multiple tables.

If you have a parent-child relationship, I think you should have one view for the parent (or use the table directly), and another view for the child. In any one of the views, you can show related fields from other tables, but better don't update them.

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform