I want to use the filter function in the follwing way:<BR><BR>Select a record from an SQL database<BR>test to see if ".tmp" is contained in the record<BR>If so set the record = null<BR>If not write the value of the record.<BR><BR>I&#039ve have tried the filter function but I keep getting a type mismatch error.<BR><BR>Example:<BR>myfilter = Filter(fieldname,".tmp",(true),(1))<BR><BR>Any Ideas?