<cfquery datasource="iru" name="route"><br>select table1.routefrom, table1.routeto, table1.sites, table2.sitename, table2.sitecode<br>from table1, table2<br>WHERE (table1.routefrom like '#form.routefrom#%' and table1.routeto like '#form.routeto#%')<br>and (0=1 <br><cfloop index="site" list="table1.sites" delimiters=","><br>or table2.sitecode='#site#'<br></cfloop><br>)<br>order by table1.routefrom<br></cfquery><br><br>in table1.sties field, data is like "bla,bla,bla,bla"<br>there is no erro. but no any result pulled out.<br>there should be some results.