Hello,
First of all, please refer to the KnowledgeBase http://digital.ni.com/public.nsf/websearch/E56A5EBC026C6F9886256A940072E081?OpenDocument for more information on the error. Basically, the error -10 means that the error occured in the underlying database provider, not in the toolkit itself.
When you install the SQL toolkit, it installs samples.mdb file in the example folder, which requires Microsoft Access driver. If you have MS Access installed correctly, then it should be able to map all the columns and variables in the testres table in samples.mdb. Is it possible that the example you are trying to run were somehow modified before you ran them?
Mika Fukuchi
Applications Engineer
National Instruments