Trying to figure out the best way to remove 'evaluate' from these 
expressions:

<cfquery name="alreadyMatched" datasource="#application.dsn.DS2#">
        select alias#arguments.field#
        From   dbo.#arguments.field#AliasDefault
        Where  alias#arguments.field# in                                 
(#listqualify(arraytolist(arguments.matched),"'")#)
        and    fkCDModels = #arguments.modelID#
        and    default#arguments.field# = '#arguments.default#'
</cfquery>
                                
<cfloop list="#arraytolist(matched)#" index="i">
        <cfif 
listfindnocase(valuelist(Evaluate("alreadyMatched.alias#arguments.field#")),i) 
EQ 0>
        <cfif 
listfindnocase(valuelist(Evaluate("alreadyMatchedToModel.alias#arguments.field#")),i)
 
EQ 0>

......

Cutter

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:241446
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=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to