LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how do i update the current time to the database ?

Hi guys...

 

How do i connect the "Date/Time string" to the DB Tools Update Data.vi ??? Is it connect it to the point/pin called "condition" of DB Tools Update Data.vi ?

I am kind of confuse of how do i connect...

 

Thanks in Advance.

 

 

Att taking.png

 

 

 

0 Kudos
Message 1 of 6
(3,172 Views)

Hi 

Check this

 

 check.png

 

You can do the same with DB Execute query vi 

---
Silver_Shaper | CLD
0 Kudos
Message 2 of 6
(3,168 Views)

Hi.... I try this method....but why the "Date and Time " will not display on the table ???  Where went wrong ???

 

 

 

Att taking.png

0 Kudos
Message 3 of 6
(3,152 Views)

I try your method but it keep giving errors...

 

 

 

att taking 2.png

0 Kudos
Message 4 of 6
(3,119 Views)

Hi 

 

What kind of error are you getting? - Let me know clearly your Db columns details and things you want to do.

---
Silver_Shaper | CLD
0 Kudos
Message 5 of 6
(3,110 Views)

This is the error i get...{    NI_Database_API.lvlib:Cmd Execute.vi->NI_Database_API.lvlib:DB Tools Update Data.vi->FYP_3.1.vi<ERR>ADO Error: 0x80040E14
Exception occured in Microsoft OLE DB Provider for ODBC Drivers: [Microsoft][ODBC Microsoft Access Driver] Syntax error in UPDATE statement. in NI_Database_API.lvlib:Rec Create - Command.vi->NI_Database_API.lvlib:Cmd Execute.vi->NI_Database_API.lvlib:DB Tools Update Data.vi->FYP_3.1.vi  }

 

 

When u scans a card, it will show you your information with the Current Time/Date on the table. and update it on the database....

 

I try the example of DB tools update data vi .. it make me more confuse :l

0 Kudos
Message 6 of 6
(3,090 Views)