N
nodoby
How do I use Access VB to change the criteria in an existing query?
I am querying a customer table to display only records for a specific
CustomerCode. In the criteria area I would normally type in the CustomerCode
number and run the query, or "Like [Enter Customer Code]" would ask me when
the query is run. Now I want to run the query from Access VB which is not a
problem, but I want the code to insert the criteria and then run the query.
Any suggestions.
I am querying a customer table to display only records for a specific
CustomerCode. In the criteria area I would normally type in the CustomerCode
number and run the query, or "Like [Enter Customer Code]" would ask me when
the query is run. Now I want to run the query from Access VB which is not a
problem, but I want the code to insert the criteria and then run the query.
Any suggestions.