12-17-2009 09:31 AM
I am using the code below to return data from an SQL database. However, all of the elements in the variant array are blank except for the last column. Using "Database Variant to Data" doesn't help (everything but the last column is still blank). All of the columns are being correctly sent from "List Columns" to "Select Data". The SQL query is a simple "Select" statement that should return all of the data in the table. The SQL table is set up with all fields as text. Yes, there is data in the table. What else could be wrong?
I am using LabVIEW 2009 and the database connectivity toolkit and MS SQL Server 2005 Management Studio Express.
Solved! Go to Solution.
12-18-2009 05:45 AM
12-18-2009 09:40 AM - edited 12-18-2009 09:41 AM
12-18-2009 09:58 AM
12-18-2009 10:06 AM
The variant array looks like this:
There are the correct number of rows and columns, but only the last column has data.
12-18-2009 10:34 AM
12-18-2009 02:19 PM
I get the same result with the code below. Any other ideas? Some kind of incompatability between LabVIEW and this version of SQL Server? I need to get this working by early next week.
12-18-2009 03:05 PM
12-18-2009 03:23 PM
12-18-2009 03:38 PM