Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
View: order by parameter
Message
De
19/08/1998 08:04:35
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00127772
Message ID:
00128057
Vues:
27
>>Hi to all,
>>
>>do you know if it's possible to create a view with the order by clause setted runtime ? Can I use the ?paramter way like for where expression ? Example :
>>
>>CREATE VIEW vwTest AS ;
>> SELECT field1, field2 FROM myTable ;
>> WHERE field1 LIKE ?param1 + "%" ;
>> ORDER BY ?orderkey
>>
>>TIA
>
>Hello Renato,
>
> Just go thoough this.
>
>SET SAFE OFF
>lcorder = 'myfield'
>
>CREATE VIEW vwTest AS ;
> SELECT field1, field2 FROM myTable ;
> WHERE field1 LIKE ?param1 + "%" ;
> ORDER BY &lcorder
>
>Basically my idea is to create the runtime.
>
>HTH
>
>Bye
>Jayesh

If you try this, you will find that it creates an error.
Erik Moore
Clientelligence
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform