Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Object reference lost in SQL SELECT ?
Message
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:
01120153
Vues:
20
>I have the following SQL SELECT statement:
>
>
>   cSQLStatement = "SELECT column1, column2, alltrim(object1.object2.property1) as column3 FROM cursor1 INTO CURSOR cursor2 READWRITE"
>
>
>I execute it by using:
>
>
>   &cSQLStatement
>
Tore identified the reason, but this is how it should be changed:
cSQLStatement = "SELECT column1, column2, '" + alltrim(object1.object2.property1) + ;
"' as column3 FROM cursor1 INTO CURSOR cursor2
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform