I believe that null will work but I'd use the listlen function. Mine would look something like:
Not(YesNoFormat(ListLen(ValueList(AnotherQuery.RecordID)))) On 3/8/06, Jim McAtee <[EMAIL PROTECTED]> wrote: > > Is it necessary to designate list="yes" for a cfsqlqueryparam value if the > value is already a comma delimitted list? Or is that exactly what the > attibute is to be used for? > > Is the following a valid use of the 'null' attribute? > > WHERE recordid IN > (<cfqueryparam > cfsqltype="cf_sql_varchar" > value="#ValueList(anotherquery.recordid)#" > list="Yes" > null="#YesNoFormat(not Len(ValueList(anotherquery.recordid)))#">) > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234745 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