LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I want to use the SQL query IF EXIST to update or insert data in a ms access table, but it doesn´t work

Hi,
I want to use the SQL query IF EXIST to update or insert data in a ms access table, but it doesn´t work
(fault number -2147217900)
I want to search for a value in a ms access table , if it exist i want to update it, if not i want to insert a new row.

Working with LabView 7.1, database con. toolset.

Who can HELP?

Thanks a lot

Marco
0 Kudos
Message 1 of 2
(2,791 Views)
Hello,

I think that If exist is not a standar SQL command (I know it exists I think in Oracle and SQL server), MS access doesn't support it, so I think the best way to do it is first make a Select and then either an Update or an insert, sorry...

Paulo
Message 2 of 2
(2,786 Views)