> Try, LIKE <cfqueryparam value="%#UCase(Form.Agency)#%" 
> cfsqltype="cf_sql_varchar">

ah that makes sense, thanks.  I have a followup question.  
I changed UPPER to UCase in the next line and received an error, "UCase:invalid 
identifier", but it works fine with Agency in the line above and with 
UPPER(city).  I was just trying to be consistent.

query line:
<cfif Form.agency neq ""> 
    AND UCase(agency) LIKE <cfqueryparam value="%#UCase(Form.Agency)#%" 
cfsqltype="cf_sql_varchar"> 
</cfif>
<cfif Form.city neq "">
    AND UCase(city) LIKE <cfqueryparam value="%#UCase(Form.city)#%" 
cfsqltype="cf_sql_varchar"> 
</cfif>


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:191738
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