Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SHAPE Command
Message
 
To
01/11/2002 08:05:43
Alvin Lourdes
Children and Youth Services Cluster
Toronto, Ontario, Canada
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00717721
Message ID:
00717813
Views:
23
This message has been marked as a message which has helped to the initial question of the thread.
>Hello,
>
>
>I am trying to join two tables using the SHAPE command.
>
>"SHAPE {SELECT CustomerID,CompanyName" & _
> " FROM Customer ORDER BY CompanyName} " & _
>" APPEND ({SELECT OrderId, OrderDate, " & _
> " CustomerID FROM Orders} AS rsOrd " & _
>" RELATE CustomerID to CustomerID)"
>
>
>
>When I execute this statement... I get a syntax of access violation error..
>
>
>Any ideas?
>
>Thanks.
>
>Alvin

Alvin;

Try this:
"SHAPE {SELECT CustomerID,CompanyName" & _
     " FROM Customer ORDER BY CompanyName} " & _
     " APPEND (SELECT OrderId, OrderDate, " & _
     " CustomerID FROM Orders} AS rsOrd " & _
     " RELATE CustomerID to CustomerID)"
Tom
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform