A
Andy B.
I have some stored procedures I want to wrap into vb functions. Most of them
return 2 different kinds of data:
1. A resultset from a query. This will be used as a DataReader.
2. A status code returned from the stored procedures as output parameters
(int). I will convert these to enum values on the client.
My question is how would you return both of these from the stored procedure
wrapper function all at the same time? I would rather stay away from ByRef
values if possible since there can be lots of status codes floating around
at the exact same time and it would create lots of needless integer
variables.
return 2 different kinds of data:
1. A resultset from a query. This will be used as a DataReader.
2. A status code returned from the stored procedures as output parameters
(int). I will convert these to enum values on the client.
My question is how would you return both of these from the stored procedure
wrapper function all at the same time? I would rather stay away from ByRef
values if possible since there can be lots of status codes floating around
at the exact same time and it would create lots of needless integer
variables.