Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
&& within string gives error
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00601634
Message ID:
00602821
Vues:
30
>Are you using it within strings? If yes, would you like to describe why?

How about
cFld1= "DateFld"
cFld2= "TimeFld"

cSQL= "SELECT * FROM MyTable ORDER BY &cFld1, &cFld2"
&cSQL
Although I know most people wouldnt not write it this way, some might,
Looks neater then
cSQL= "SELECT * FROM MyTable ORDER BY " + m.cFld1 + "," + m.cFld2
but I still prefer the second way.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform