LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

database

hi,

 

How can i compare the fields in ms-access table with the fornt panel control values.

 

InAdvance Thanks

 

Regards

Soundarya

0 Kudos
Message 1 of 9
(5,053 Views)

Hi Soundarya,

can you explain a bit more please? Why do you need it? You can use a SELECT query to get all rows with specified values, no need to compare something.

 

Mike

Message 2 of 9
(5,044 Views)

You can find a dll that may help here:

http://zone.ni.com/devzone/cda/epd/p/id/3409

 

Greets Christian Riedel

0 Kudos
Message 3 of 9
(5,041 Views)

hi,

 

i have some values in the database as: uname=ate and password=ate.

 

and i have two string controls in the front panel.

 

so i want to compare the fields in the database such as uname and password with the string controls in the front panel.

 

how can i do this?

 

InAdvance Thanks

 

Regards

Soundarya

0 Kudos
Message 4 of 9
(5,033 Views)
Message 5 of 9
(5,028 Views)

Hi Soundarya,

as mentioned before, you can use a SELECT query.

SELECT password FROM yourtablename WHERE uname='ate'

It's only an example, you should change the "ate" with the value from your control. The result contains the password which you can compare with the value from the other control.

 

Mike

0 Kudos
Message 6 of 9
(5,025 Views)

hi,

 

how can i know whether a particular record in the database(ms-access) exists or not?

 

InAdvance Thanks

 

Regards

Soundarya

0 Kudos
Message 7 of 9
(4,964 Views)

hi,

 

how can i know whether a particular record in the database(ms-access) exists or not?

 

InAdvance Thanks

 

Regards

Soundarya

0 Kudos
Message 8 of 9
(4,950 Views)

If your query does not return any results. Smiley Very Happy

 

 

0 Kudos
Message 9 of 9
(4,936 Views)