<<< 返回 access911.net 编程静态资料库索引页

我会建立并调用参数存储过程了,可是如何获得返回值哪?

 

作者:  摘自:  录入:cg1  时间:2003-3-27  浏览人次:1554


专题地址:http://access911.net/index.asp?u1=a&u2=73FAB51E14DC 如果需要更详细的评论或说明,请点击该地址。

 

简述:

 



问题:

我会建立并调用参数存储过程了,可是如何获得返回值哪?

 


回答:


Access ADP 调用代码如下:
dim comm as new adodb.command
comm.activeconnection=currentproject.connection
Comm.CommandText="cg_GP_GetBeforeDateAROrAPBalance23"
Comm.Parameters.Append Comm.CreateParameter("ReturnCode",adInteger,adParamReturnValue)
Comm.Parameters.Append Comm.CreateParameter("OperatorID",advarchar,adParamInput,25)
Comm.Parameters("OperatorID")="56557325"
Comm.Parameters.Append Comm.CreateParameter("nType",adinteger,adParamInput)
Comm.Parameters("nType")=nType
Comm.Parameters.Append Comm.CreateParameter("St.....................
...........

资料库随时有更新,欲查看最新详情请单击专题地址http://access911.net/index.asp?u1=a&u2=73FAB51E14DC

 


上一篇:如何安装MOD中的打包程序----Package and Deployment Wizard

下一篇:如何根据字符串表达式,计算出结果?

2007年12月25日生成静态资料