Jean

If you take out the Disponible field does the query work and produce
accurate results?

Bill Anderson

On Wed, Oct 29, 2014 at 3:39 AM, Jean MAURICE <jsm.maur...@wanadoo.fr>
wrote:

> Hi Bill : unknown alias ta !
>
> The Foxil
>
> Le 28/10/2014 22:08, Bill Anderson a écrit :
>
>> Jean,
>>
>> That should fail. The column names would not be available to be used in
>> the
>> SELECT portion of the clause. If you use the HAVING clause as part of the
>> join, the column names are available to be used.
>>
>> Replace the Disponible field with this and see if it works:
>>
>> CAST(EVALUATE("MIN(sal.capacite, sv.capacite, ta.capacite, ta.maxjour)")
>> AS
>> Integer) AS disponible
>>
>> Bill Anderson
>>
>>
[excessive quoting removed by server]

_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/CA+O1enHm9JxAbOL7EgKkHFjyf5n6Nm2Hmre-G-RJhWGFc=-5...@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to