Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Syntax error using view designer
Message
From
17/06/1998 16:44:41
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Syntax error using view designer
Miscellaneous
Thread ID:
00109275
Message ID:
00109275
Views:
67
I'm trying to use the view designer to create a view, but I get an error with the SQL that it generates (and therefore I can't saveit).

The SQL is:

SELECT Orders.*;
FROM asn!orders INNER JOIN asn!consign;
LEFT OUTER JOIN asn!consign Consign_a ;
ON Orders.ship_for = Consign_a.consign_id ;
ON Orders.consign_id = Consign.consign_id

The error is
SQL: Column 'SHIP_FOR' is not found

BUT, if I run the SQL from the command window, it will fail the first time and succeed the 2nd. I found that if the Orders table is already open, then it will work.

What's the deal?

Bob
Next
Reply
Map
View

Click here to load this message in the networking platform