Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Incompatibility with VFP 9
Message
 
 
To
14/01/2005 12:16:17
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00977235
Message ID:
00977257
Views:
17
>I don't know either. But, in order to resolve the issue, I had to do this:
>
>
>      SELECT * FROM Temp WHERE OrderMain>0 INTO CURSOR TempForum
>      SELECT NoClient,MAX(OrderMain) AS SortOrder FROM TempForum GROUP BY NoClient ORDER BY SortOrder INTO CURSOR Temp2
>
>
>So, basically, I had to select all records having a value in OrderMain into a cursor. Then, from that cursor, your command is working.
>
I'm not sure why do you've to do that but wouldn't it be the same as
SELECT NoClient,MAX(OrderMain) AS SortOrder FROM Temp ;
WHERE OrderMain>0 ;
GROUP BY NoClient ORDER BY SortOrder INTO CURSOR Temp2
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform