帆软怎么用JS调用数据库中的存储过程 - 帆软社区 (fanruan.com)
var sql="exec sp_rms_select_0460 "+FUNDCODE+","+DATE+","+STATUS;
var res=FR.remoteEvaluate('=sql("dbbasedata","'+sql+'",1,1)');
=====
var sql="exec 存储过程名称 "+参数1+","+参数2+","+参数3;
var res=FR.remoteEvaluate('=sql("数据库连接","'+sql+'",1,1)');
你关这个了吗?
---------------
var sql="exec sp_rms_select_0460 "+FUNDCODE+","+DATE+","+STATUS;
var res=FR.remoteEvaluate('=sql("dbbasedata","'+sql+'",1,1)');
这个是有参数的写法