Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Are views right for me (or what am i doing wrong)
Message
From
08/01/2004 10:24:19
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00865024
Message ID:
00865069
Views:
23
>First of all, it is not recommended to have updateable view if based on more than one table. At least it is tricky if possible to handle updates in this case.

As I said, I have little database experience but reading the VFP documentation, which shows examples of views using two or more tables, I thought that this may be the way to go. If the view from developers is that it is inadvisable, then I will certainly take that advice. From yours & Hilmar's advice, I am thinking of using forms & writing my own SQL.

>
>From your #1 below, I do not get it, how may result contain the same number of records as table1. Is there only one-to-one relations?

Yes, each part will only be of one type, in one location & data will be on one CD. But in the opposite direction, there will be more that one part of a particular type, a location may store different parts & data for multiple parts may be on a single CD. These rules determined the tables I created - as long as the tables are correctly populated, there will always be a matching number of records in the result to that in table 1.

Again, thanks for your time
Irene
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform