Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cursor not being created
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01438479
Message ID:
01438484
Views:
44
>sorry it end up with ". its just for illustration purposes.
>
>cSelectStat = "select "+lcfields +;
> " FROM a "+;
> " left Join b On b.fieldpk = a.fieldfk "+;
> " left Join c On c.fieldpk = b.fieldpk "+;
> " left Join d On d.fieldpk = c.fieldpk "+;
> " left Join e On e.fieldpk = d.fieldpk "+;
> " left Join f On f.fieldid = e.fieldpk "
>
>&cSelectStat into cursor curtemp readwrite
>select curtemp

What are a, b, c, etc. ? Can you use real names of the tables? And also try my advice of TEXT/ENDTEXT and try running this command in command window. It may be a typo/error eaten by your error handler.
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