var area = this.getValue();setTimeout(function() { var sql="SELECT ITEM_ID FROM TB_TEST_ZD where ITEM_NAME = '"+area+"'" var province; province = FR.remoteEvaluate("=sql('JDBC2','+sql+',1,1)"); alert(province); contentPane.curLGP.setCellValue('C' + row, null, province); },200);