LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I can insert data into an access database, but I need to querry the database for specific information. How do I do it?

I can insert data into an access database, now I need to do some simple querries such as selecting all records that are greater than a certain value or = a certain value. How can I return only the selected records?
0 Kudos
Message 1 of 5
(2,863 Views)
You don't mention what you're using to connect to the database. If you're one of the toolkits that uses SQL then you would use the SELECT command with the WHERE clause. Something like:

SELECT * from tablename WHERE columnname > value

You probably want to get a hold of a complete SQL reference if you want to do a lot of queries.
Message 2 of 5
(2,863 Views)
Sorry but I do not have the Connectivity toolkit, everything must be done in labview using Active X

Thanks
0 Kudos
Message 3 of 5
(2,863 Views)
If you don't want to spend any money, then instead of ActiveX, I would recomend LabSQL from Jeffrey Travis. I use it instead of the Connectivity toolkit and have had no problems. Besides being free, you have the advantage of being able to use it with any database. ActiveX ties you to Access and you upgrade your version of Access and find the properties and methods are different, you've got a lot of reprogramming to do.
0 Kudos
Message 4 of 5
(2,863 Views)
Thanks a million. LabSQL works perfectly. It does exactly what my application requires and with a minimum of hassle. Thanks again
0 Kudos
Message 5 of 5
(2,864 Views)