LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

i can't use sql tooldkit2.0 for cvi

Dear sir:
I have got database based measurement project ,I installed sqltoolkit for cvi2.0
My operating system is win98/2000, but I can not use it,even I can’t run many examples issued with this toolkit,for example when I run CVI\sql20\sample\simple\NEW_REC.prj ,I got the wrong information as follow:
Function DBActivateMap: (return value==-10)
Native error code –2147217887 0x80040e21
Microsoft OLE DB Provider for ODBC dirver:
ODBC 驱动程序不支持所需的属性(the wanted Properties are not supported by ODBC
drivers )
0 Kudos
Message 1 of 2
(2,851 Views)
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
0 Kudos
Message 2 of 2
(2,851 Views)