LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

ado stored query

Hi
 
Im using the ado toolkit, its works fine. NBut i have a problem. I read the stored querys in my acces database. But i also want to use those querys. How do i do this? Can I read the SQL code of the stored query or is there an other option or is t impossible.
 
Bart
Labview CLD , Engineer/Manager

Promedes and DSM
using LV 7.1, 8.0, 8.2, 8.5 and 2009 SP1
http://www.promedes.nl
0 Kudos
Message 1 of 6
(2,742 Views)

You can use the queries in MS Access as you would any other table e.g. SELECT qryTestDist1.* FROM qryTestDist1; where qryTestDist1 is a saved query.

Does that help?

Daviid

0 Kudos
Message 2 of 6
(2,736 Views)
is qryTestDist1 the name of the saved query?
Labview CLD , Engineer/Manager

Promedes and DSM
using LV 7.1, 8.0, 8.2, 8.5 and 2009 SP1
http://www.promedes.nl
0 Kudos
Message 3 of 6
(2,734 Views)
Yes. E.g. I am working in Access and created a query using the query builder and saved it as qryTestDist1 in the Queries tab. Make sense?
0 Kudos
Message 4 of 6
(2,732 Views)
dus how exactly does my query string should look like if my query is called "test"
Labview CLD , Engineer/Manager

Promedes and DSM
using LV 7.1, 8.0, 8.2, 8.5 and 2009 SP1
http://www.promedes.nl
0 Kudos
Message 5 of 6
(2,730 Views)
SELECT * FROM test;
0 Kudos
Message 6 of 6
(2,727 Views)