ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Update value in database(access-connectivity toolset )

Hello,

I am using the database connectivity toolset and I am trying to change values of an existing database.
I used the "Update" command but i got an ERROR!!!.
"Exception occured in Microsoft JET Database Engine, Syntax error in UPDATE statement..  in Conn Execute.vi->...."????
What to do???
Regard's
Eyal.
0 Kudos
Message 1 of 4
(3,602 Views)

Hi

The shearch statement (after Where) shud be anather field than the field you are trying to change.

I am using defoult value on cursor type with sucsess.

I hope this will help you

Rune

0 Kudos
Message 2 of 4
(3,585 Views)
I'm not sure about your statements, but you need to have a semi-colon at the end of the query.
0 Kudos
Message 3 of 4
(3,579 Views)
try sql query like " UPDATE TBLPASSWORD SET PASSWORD = 'DAVID' WHERE USERNAME='CECAR'  "
0 Kudos
Message 4 of 4
(3,571 Views)