>WHERE ( Student.descr=ALLTRIM(Thisform.search.value)and" "$UPPER(descr) ) >Do you want the record starting from KHUBAIB or anywhere in the string?
lcValue = upper(ALLTRIM(Thisform.search.value)) + ' %' where upper(Student.Descr) LIKE &lcValueI would rather construct the whole SQL as a string using textmerge.