I am trying write a simple prog to loop through a recordset from a ODBC datasource. I was wondering if anyone could show me or point me to an exapmle (in its simplest terms) to open a database connection, execute an SQL query, then loop through the recordset.
I wrote this in VBScript in less than 20 lines, but it seem to be vastly more complicated in c++, or I am just getting the wrong info?
Someone pretty please help!
Randall