Using VB6 and SQL Server 2000
I want to pass the value to stored procedure using rdo connection.
I know stored procedure and rdo connection string, but I don't know how to pass parameter value to stored procedure through rdo connection.
Tried code
Dim rsql As rdoQuery
'Set rsql = rdovispay
rsql.rdoParameters ("Storeprocedure1")
rsql.rdoParameters(0).Direction = rdParamReturnValue
rsql(1) = Eid
rsql.Execute
Can anyone provide a sample code for passing the parameter value to stored procedure?
From MSDN:
You can find the complete page here
You code (ODBC syntax) would be modified to: