Private Sub Command20_Click() On Error GoTo Err_Command20_Click Dim stDocName As String stDocName = "sInsertStepIntTestSteps" DoCmd.OpenStoredProcedure stDocName, acViewNormal, acEdit Exit_Command20_Click: Exit Sub Err_Command20_Click: MsgBox Err.Description Resume Exit_Command20_Click End Subbut can find no documentation on how to pass the parameters. All help is appreciated.