Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Selecting from multiple tables...
Message
From
03/06/1999 16:27:43
 
 
To
03/06/1999 16:25:18
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00226145
Message ID:
00226231
Views:
30
PMFJI, one minor irrelevant thing: using '==', instead of '=' may effectively kill Rushmore.

>You have no join condition in your SELECT. You should have a condition that tell which field in Conference link to Rooms, as in:
>
>
SELECT Conference.ConfNum;
>   FROM Conference;
>   INNER JOIN Rooms ON Conference.PK = Rooms.FK;
>   WHERE Rooms.HallName=="Hewett" .OR. Rooms.HallName=="Manchester";
>   INTO CURSOR tmp
HTH
>
>>SELECT Conference.ConfNum, Conference.ConfName, Conference.CheckInBegin, ;
>> Conference.CheckInEnd, Conference.CheckOutBegin, Conference.CheckOutEnd, ;
>> Rooms.HallName FROM Conference INNER JOIN Rooms WHERE ;
>> Rooms.HallName=="Hewett" .OR. Rooms.HallName=="Manchester" INTO CURSOR tmp
>>
>>Syntax error... =(
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform