Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
View Vs SPT
Message
 
To
26/01/2000 13:06:02
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00322980
Message ID:
00323211
Views:
23
>
>But, when I tried to use it in SPT. I got an error message saying unrecognized phrase/keyword ???
>
>SQLEXEC(nhandle, ' my sql statement ' , 'invc_cursor' )
>
>If I replace all the fields that I want with SELECT * FROM all is ok. Is there a specific way to choose the desired fields ?
>

In addition to Stephen's answer, I'd also double check to make sure you're spacing is correct when you add together the multiple segments. For example:
lcSQL1 = "SELECT * FROM"
lcSQL2 = "MyTable WHERE"
         ^^^ You need a space between FROM and MyTable
-Paul

RCS Solutions, Inc.
Blog
Twitter
Previous
Reply
Map
View

Click here to load this message in the networking platform