Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL SELECT on Cursors
Message
From
10/09/2001 08:32:15
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
10/09/2001 08:30:44
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00554562
Message ID:
00554569
Views:
21
>>Hi guys,
>>Can you use SELECT SQL statement on cursors? I have a cursor called tempcur and I had this satement :
>>
>>SELECT tempcur.clerk, tempcur.rates;
>> FROM tempcur;
>> GROUP BY clerk;
>> ORDER BY clerk;
>> INTO DBF output/entries
>>
>>
>>I get an error message "Invalid path or file name" when I run the form. What's wron with this? I would be glad of any help from you guys.
>
>Richard,
>To be able to do it cursor should be a true cursor. For your tempcur creating SQL add a 'nofilter' clause. ie:
>
>select * from myTable into cursor tempCur NOFILTER
>
>However if you could do this in first place do it there.
>Cetin

BTW if your order by is same as group by then you don't need order by (group by does implicit order by).
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform