Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Object reference lost in SQL SELECT ?
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows Server 2003
Network:
Windows 2003 Server
Miscellaneous
Thread ID:
01120146
Message ID:
01120153
Views:
16
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform