Hi,
I am using a querydef to execute a DAO.database stored procedure.
How do I get the return value?, the SP doesn't return a recordset it just returns a value, but I can't see how I get the value?
Thanks,
1DMF.
"In complete darkness we are all the same, it is only our knowledge and wisdom that separates us, don't let your eyes deceive you."
"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"
Free Electronic Dance Music
I am using a querydef to execute a DAO.database stored procedure.
Code:
[indent][/indent] Dim db As DAO.Database
Dim qd As QueryDef
Set db = CurrentDb
Set qd = db.QueryDefs("spCC_UpdateRAG")
qd.SQL = "EXEC spCC_UpdateRAG @Col = 'Rating', @RAG = " & Nz(vRate, "NULL") & ", @Case_ID = " & iCaseID
qd.Execute
Thanks,
1DMF.
"In complete darkness we are all the same, it is only our knowledge and wisdom that separates us, don't let your eyes deceive you."
"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"
Free Electronic Dance Music