× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.




Is it possible to use the information from SQLNumResultCols and
SQLDescribeCol to bind to the columns of a result set?

I would like to be able to build a framework which would give me the
ability to do the column binding at runtime. I think that SQLDescribeCol
gives me almost everything I need. The 'gotcha' appears to be that I have
to pass a pointer to the variable which will hold the data for the column.
And I'm not bright enough to figure out how to do that.

Any and all help would be appreciated.

I suppose I should mention I'm trying to do this in RPG IV on V5R4.

Thanks,

Dave Zastrow
Programmer/Analyst II
Duncan Aviation
Information Services
402.479.4155

================================================================================

This email message is for the sole use of the intended recipient (s) and
may contain
confidential and privileged information. Any unauthorized review, use,
disclosure or distribution
is prohibited. If you are not the intended recipient, please contact the
sender by reply email
and destroy all copies of the original message.
================================================================================




As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.