Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL SELECT on Cursors
Message
De
10/09/2001 08:32:15
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
10/09/2001 08:30:44
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00554562
Message ID:
00554569
Vues:
17
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform