如图所示: I4单元格需要引用H5单元格的值,查询他的本级及以下单位,I4单元格sql函数表达式为:SQL("数据库名","select fid,fpid,fname from U_ORGANIZATION t start with fid = "+H4+" connect by prior fid = fpid"),预览单元格报错=NAME?
ymfanruan(提问者)fpid不是参数,就是数据库的字段:我SQL(\"数据库名\",\"select fid,fpid,fname from U_ORGANIZATION t start with fid in (\"+H4+\") connect by prior fid = fpid\",1),我最后将 fid=H4 改为 fid in (H4),但是还是不能查出数据