I think I am not formatting the connection string going into the Call dbLib.CreateConnection function
VRF (http://veeos.org/support/index.html#VRF ) has discussed ODBC many times in relation to SQL databases and there are lots of good examples. Wander by the attachments directory (http://veeos.org/shared/.VRF_attachments/ ) and look for SQL examples such as MySQL_Interface.vee, MySQL_ODBC_Example.vee, MySQL_ODBC.vee. I expect that you'll find plenty there to get you started. Also VRF has lots of expertise with this, so if you have more detailed questions that would be a good place to ask them.
Retrieving data ...