local loCursor as CursorAdapter, ; laErrors[1] thisform.xxx = 37000 loCursor = createobject('CursorAdapter') with loCursor .Alias = 'cPolicy' .DataSourceType = 'Native' .SelectCmd = " select sif_no,fund_yr from policy where sif_no = ?thisform.xxx " .cursorschema = "SIF_NO I, FUND_YR I " browThanks