G
GREGORY HICKMOTT
Can I add a where statement to a query at run time an what is the syntex
with opening the query
with opening the query
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
query design window under the field you want to search-----Original Message-----
Can I add a where statement to a query at run time an what is the syntex
with opening the query
.
put your criteria in [ ] on the criteria line of the
You can reassign the query statement by setting the SQL property of the
QueryDef.
This kind of thing:
dbEngine(0)(0).QueryDefs("Query1").SQL = "SELECT ...
That is probably more efficient than creating another query into the first,
i.e.:
SELECT * FROM Query1 WHERE ...
-1606758480"
this is just a sample of data that will change with a combobox selection
i looked at the sql view and got the syntex that worked
now i just have to replace my sample with the combobox tag
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.