Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Select statement
Message
De
24/11/2004 11:39:44
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows '98
Network:
Windows 98
Database:
Visual FoxPro
Divers
Thread ID:
00964167
Message ID:
00964356
Vues:
7
Since this is an executable statement, not a value, you can't use EVALUATE() here. You must use a macro (&) for an executable statement.


>Suhas As Matin said use &abc, Never use m. when You try to evaluate a macro, the macro stops to the first point in Your case You try to evaluate &m and that is because You get an error message. You can use EVALUATE(m.abc) instead.
>
>>hi all,
>>
>>this select exectues fine
>>
>>select dist f1 from foo where f2 > 10 into cursor testfoo
>>
>>but this fails
>>
>>m.abc = "select dist f1 from foo where f2 > 10 into cursor testfoo"
>>&m.abc
>>
>>
>>how to solve it ?
>>
>>
>>TIA
>>
>>suhashegde
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform