LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

problem with cvi sql toolkit and sqlserver

I want to use the SQL Toolkit (v.2.06) to connect a MS sqlserver(v.200 pro) database.
So the problem deals with DBcreateTablefromMap() when you use previously the function DBMapColumn ToChar!
There is no problem with DBMapColumnToInt function and with a connection withMySQL .
So, The ERROR Message returned by CVI is: " Function DBcreateTablefromMap : return value -10 "
thanks a lot for your help!
0 Kudos
Message 1 of 3
(2,735 Views)
Hello,
Error -10 (DB_DBSYS_ERROR) means that the error was detected by ADO. You can call DBNativeError function to get the underlying error code. Please refer to the KnowledgeBase below:

http://digital.ni.com/public.nsf/websearch/A23525E4DDABF00B86256A940071D9A6?OpenDocument

Mika Fukuchi
Application Engineer
National Instruments
0 Kudos
Message 2 of 3
(2,735 Views)
yes, I know it is an error detected by ADO but why it deals with DBMapColumnToInt (there's no error) but when I include a DBMapColumnToChar there's the error message?
thanks for your help
0 Kudos
Message 3 of 3
(2,735 Views)