>>But my questions are
>>1. Doesn't the above code make the COUNT to be executed twice (thus increasing the time of the execution)
>
>Nope
>
>>2. Why in case of VFP using the calculated name (AS) works? Does it mean that with VFP data the execution time would be better?
>
>Because in VFP the result cursor is created by parser BEFORE the query (this is just a guess).
Thank you for the explanation.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham