Shadowspawn65
Programmer
Hi,
In the following procudure I'm not getting any results back. I think I'm missing something simple...any advice?
when the above code is run i get nothing printed for ItemID or GroupID
Thanks!
In the following procudure I'm not getting any results back. I think I'm missing something simple...any advice?
Code:
Select Case Value
Case "Menu"
Response.Write("MealId="&MealID&"<br/>")
dbComm.CommandText = "sp_GetMenuItems"
dbComm.Parameters.Append dbComm.CreateParameter("MealID", adInteger, adParamInput, 4,2)
dbComm.Parameters.Append dbComm.CreateParameter("ItemID", adInteger, adParamReturnValue)
dbComm.Parameters.Append dbComm.CreateParameter("GroupID", adInteger, adParamReturnValue)
dbComm.Execute
End Select
If Value <> "Menu" Then
Set rsLoop = getConnection.Execute(strSQL)
Else
Response.Write("The ItemID is "& dbComm.Parameters(1).Value&"<br />")
Response.Write("The GroupID is "& dbComm.Parameters(2).Value&"<br />")
End If
when the above code is run i get nothing printed for ItemID or GroupID
Thanks!