SQLBindParameter is for binding a variable to a parameter marker in the query 
to be executed.
What you really need is SQLBindCol, which binds a variable to a column in the 
result set.
If the number of return columns is N, you need N invocations of SQLBindCol 
(that is, you must consume all the columns in the result set, even if the 
application does nothing with some of them).
You can dynamically determine the number of result columns with 
SQLNumResultCols.
HTH
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to