Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setting multiple realtions between SQL tables
Message
From
27/08/1999 15:09:40
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
27/08/1999 15:03:01
Jeff Lovin
Dewitt & Company Inc
Houston, Texas, United States
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00257938
Message ID:
00258598
Views:
14
>Cetin,
>
>Are you sure that I have an indirect relation? I would have thought I have direct relations between CAPACITY and the other tables mentioned.
>
>I did try and setup the STATE table and setting a relation to it - and the results I got were not good.
>
>Jeff
Jeff,
Maybe it's my terminology :) I meant what you say, relations between "capacity" and others are dominant. Normally a join sequence goes like this :
...from t1 ;
     join t2 ;
        on t1.fld = t2.fld ;
     join t3 ;
        on t2.fld = t3.fld ;
...
As if t3 is child of t2 and t2 is child of t1. Setting correct join is sometimes tricky (and yours was too :) and I suggest doing it one by one. That's first connect 2 tables, if OK add 3rd and so on.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform