Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
English
What is wrong with this Having clause?
Message
General information
Fórum:
Visual FoxPro
Category:
Bases de dados, Tabelas, Views, Indices e SQL
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
ID da thread:
01062374
ID da mensagem:
01062385
Views:
15
>>>I get error 1803: SQL: Having clause is invalid in the following SQL Select:
>>>
>>>
>>>select &lcExpr, ;
>>>   upper(&lcExpr) ;
>>>   from (tcAlias) ;
>>>   where not deleted() ;
>>>   &lcFilter ;
>>>   group by 2 ;
>>>   having not empty(&lcExpr) ;
>>>   into cursor (.cCursor)
>>>
>>>
>>>Can someone, please, point to me on what is wrong with the above expression?
>>>
>>>Thank you.
>>
>>Geez you like macro expansion don't you? :-)
>
>Actually this code is from a commercial 3P tool that is no longer supported. So I have to make some changes to make it work on VFP 9.

How the (.cCursor) clause worked in VFP6, as you stated in another message, when WITH..ENDWITH didn't exist at that time?
Why do programs stop working correctly as soon as you leave the Fox?
Previous
Next
Responder
Mapa
View

Click here to load this message in the networking platform