Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Object reference lost in SQL SELECT ?
Message
 
 
À
08/05/2006 15:46:10
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows Server 2003
Network:
Windows 2003 Server
Divers
Thread ID:
01120146
Message ID:
01120284
Vues:
13
Hi Tore,

First, the macro substitution stops at the first '.' (dot) not comma. Second, the rule applies to the macro substitution itself, not to the contents of the variable used in the macro substitution. There's no dot in the macro substitution in this case.
...
&SQLStatement
>Macro expansions stops at the first comma.
>
>lcSelect1=alltrim(object1.object2.property1)
>cSQLStatement = "SELECT column1, column2, eval(lcSelect1) as column3 
FROM cursor1 INTO CURSOR cursor2 READWRITE"
>
>
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform