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:
00902108
Views:
23
David,

The missing commas are NOT intended to be AS items.

Dawa

>You can not use the alias in your AS clause. That is a whole seperate error.
>
>If 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
>>
Dawa Tsering


"Do not let any unwholesome talk come out of your mouths,
but only what is helpful for building others up according to their needs,
that it may benefit those who listen."

- Ephesians 4:29-30 NIV

Dare to Question -- Care to Answer

Time is like water in a sponge, as long as you are willing you can always squeeze some.

--Lu Xun, Father of Modern Chinese Literature

Previous
Reply
Map
View

Click here to load this message in the networking platform