Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Commit c6df3f9

Browse files
authored
Merge pull request #17108 from MicrosoftDocs/rothja-patch-2
Fixes MicrosoftDocs/sql-docs#5356
2 parents 7f80b5f + d795a7c commit c6df3f9

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

docs/ado/guide/data/calling-a-stored-procedure-as-a-method-on-a-connection-object.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,9 @@ Set objComm.ActiveConnection = objConn
5656
' the active connection object...
5757
' "ALFKI" is the required input parameter,
5858
' objRs is the resultant output variable.
59-
59+
objComm(1) = "ALFKI"
60+
Set objRs = objComm.Execute
61+
6062
' Display the result.
6163
Debug.Print "Results returned from sp_CustOrdersOrders for ALFKI: "
6264
Do While Not objRs.EOF
@@ -74,4 +76,4 @@ Set objComm = Nothing
7476
```
7577

7678
## See Also
77-
[Connection Object (ADO)](../../reference/ado-api/connection-object-ado.md)
79+
[Connection Object (ADO)](../../reference/ado-api/connection-object-ado.md)

0 commit comments

Comments
 (0)