Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Compiler does not catch this syntax error, bug?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00901990
Message ID:
00902105
Views:
19
Dawa,

You can not use the alias in your AS clause. That is a whole seperate error.

If the missing commas are intended to be AS items you should drop the lcAlias from there.
SELECT &lpcAlias..filenum AS a, ;
	&lpcAlias..b AS c, ;
	&lpcAlias..d ;
	FROM  &lpcAlias ;
	ON &lpcAlias..id = m.lpnid;
	INTO CURSOR curTemp NOFILTER
>Look at the third line in the code, that should be a syntax error.
>
>SELECT &lpcAlias..filenum AS &lpcAlias..a, ;
>	&lpcAlias..b AS	&lpcAlias..c, ;
>	&lpcAlias..d, ; && Look at this line
>	FROM  &lpcAlias ;
>	ON &lpcAlias..id = m.lpnid;
>	INTO CURSOR curTemp NOFILTER
>
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform