T
The Clansman
Hi, I have the following stored procude in a MDB database:
SELECT Id
FROM Users
WHERE Email=@Email
I want to get the return value "Id", I'm trying to use:
Dim param As New OleDbParameter("Id", OleDbType.Integer)
param.Direction = ParameterDirection.ReturnValue
cmCommand.Parameters.Add(parameterCustomerID)
but I get an error "Multiple-step OLE DB operation generated errors. Check
each OLE DB status value, if available. No work was done."
thanks,
Bruno
SELECT Id
FROM Users
WHERE Email=@Email
I want to get the return value "Id", I'm trying to use:
Dim param As New OleDbParameter("Id", OleDbType.Integer)
param.Direction = ParameterDirection.ReturnValue
cmCommand.Parameters.Add(parameterCustomerID)
but I get an error "Multiple-step OLE DB operation generated errors. Check
each OLE DB status value, if available. No work was done."
thanks,
Bruno