Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL syntaxe
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00723868
Message ID:
00723869
Views:
7
This message has been marked as the solution to the initial question of the thread.
You've to use macro substitutuon in this case
SELECT Traiter.cpauseid1 , Traiter.cpauseid2 FROM Traiter ;
   ORDER BY &cGroup ;
   INTO CURSOR Temp
>Hi all,
>
>I want to put variable in the clause group of a Sql. request.
>
>LOCAL cGroup
>cGroup = "Traiter.cpauseid1"
>
>SELECT Traiter.cpauseid1 , Traiter.cpauseid2 FROM Traiter ;
> ORDER BY ( cGroup ) ;
> INTO CURSOR Temp
>
>Give a error.
>sql column 'cgroup' is not found.
>
>
>Who can give me good syntax?
>
>thank you thousand times In advance
>
>bernhart
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform