LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

retrieving data from access database

Spoiler
 

I have a simple database called mydb.  I am trying to retrieve data from a table in the database called SN_data.  I am trying to retrieve a serial number (long int) from SN where ID = 1.  I can find the record but cannot display the data.  Is there a simple example that demonstrates retrieving data?

 

0 Kudos
Message 1 of 4
(4,017 Views)

By searching in the examples with "SQL" keyword you will be prompted with several examples (readtab, readtab2, readtab3) that shows you alternatives to find and read records from a database. Readtab3, which uses random acces and maps, is probably the example that is more useful for your needs.



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 4
(3,982 Views)

I have an example running.  Is it possible to run a query that is defined in an access database from CVI and obtain the results from it without generating the query in cvi?

0 Kudos
Message 3 of 4
(3,969 Views)

I cannot answer on this as I'm not using MS Access databases.



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 4 of 4
(3,954 Views)