ctext=thisform.txt1.value&&the user type 'xxx' >select * from table where column1='%xxx%'&&vfp will run it with Wildcards.