Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with Query Joins
Message
From
04/04/2000 21:40:00
 
 
To
04/04/2000 21:36:00
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00355406
Message ID:
00355435
Views:
15
Hi Barbara and Craig,

Thats fixed it.

By moving the 'On' line immediately after the 'Join' line for each table all works well.

This doesn't work!
SELECT Rteledgr.tsurname, Rteledgr.tinitials, Rteledgr.ttitle,;
  Rteledgr.transcode, Rteledgr.paymethod, Paymeths.pmshorttxt,;
  Trancode.tcshorttxt;
 FROM  rating!rteledgr INNER JOIN rating!paymeths;
    INNER JOIN rating!trancode ;
   ON  Rteledgr.transcode = Trancode.transcode ;
   ON  Rteledgr.paymethod = Paymeths.paymethod
This does work!
SELECT Rteledgr.tsurname, Rteledgr.tinitials, Rteledgr.ttitle,;
  Rteledgr.transcode, Rteledgr.paymethod, Paymeths.pmshorttxt,;
  Trancode.tcshorttxt;
 FROM  rating!rteledgr ;
	INNER JOIN rating!paymeths;
	ON Rteledgr.paymethod = Paymeths.paymethod ;
	INNER JOIN rating!trancode ;
	ON Rteledgr.transcode = Trancode.transcode
Thanks for your help both of you.
Chris
Previous
Reply
Map
View

Click here to load this message in the networking platform