07-11-2012 02:25 PM
I'm trying to pull a specific instance from a table and i'm receiving an error with no description. Any Ideas?
Solved! Go to Solution.
07-11-2012 02:30 PM
Turn on highlight execution to check which VI is throwing the error (I am thinking it's the first). Have you checked whether you successfully established a connection between LabVIEW and the database?
07-11-2012 02:31 PM
07-11-2012 02:33 PM
The error is being thrown by the execute sql query function. So i think there might be some very small mistake with it, but i don't see one. The column i'm checking is a string. Both the table and column i'm searching are correct.
07-11-2012 02:43 PM
But what column do you want data from ?
You need to specify a column to get data from in your select.
SELECT columnName FROM table1 WHERE ... or
SELECT * FROM table1 WHERE ...
07-11-2012 03:19 PM
Even if i specify which column to put it in it still has the same error.
Also nyc,
Even if i make a udl file it shows up as the same error.
07-11-2012 03:50 PM
Change the column name. It seems that Current is reserved.
07-11-2012 04:05 PM
Thanks, you saved me a couple days of headaches trying to get it to work.
07-11-2012 04:45 PM
Sometimes you can work around reserved names by putting the name is square braces.
For example: [Current]