Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I order the result according to inlist type data
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
00968680
Message ID:
00968691
Vues:
12
This message has been marked as a message which has helped to the initial question of the thread.
Ali,

Here's yet another way:
tcString = "16,10,12,15,8,1"

select customer_id ,;
       AT("," + ALLTRIM(STR(customer_id)) + ",", "," + tcString + "," ) AS nSequence ;
  from Customer ;
 where customer_id in (&tcString) ;
 order by 2 ;
  into cursor curCustormer
>
>select customer_id  ;
>  from Customer ;
> where customer_id in (16, 10, 12, 15, 8, 1) ;
>  into cursor curCustormer
>
>
>How can I order the result cursor according to data in the set of inlist expressions
>
>Thank in advance
>
>Ali Altun
Daniel
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform