<<< 返回 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..................... ........... |
|
|