You are conditionally running the inner join, but you are always
pulling the states variables.

They both need to be conditional, I think

On 3/1/06, Tim Laureska <[EMAIL PROTECTED]> wrote:
> When I run this query I get sl_applicant is UNDEFINED. could someone
> enlighten me :-)
>
>
>
> <cfquery datasource="#datasource#" name="appl_info">
>
> SELECT sl_applicant.*, states.*
>
> FROM sl_applicant
>
>                         <cfif sl_applicant.state_hm IS NOT NULL>INNER
> JOIN states ON states.state_id=sl_applicant.state_hm</cfif>
>
> </cfquery>
>
>
>
> thanks
>
> Tim
>
>
>
>
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233749
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to