R
Rich
I have a query I am running to generate an import file.
To manipulate the data, I am using the queries resulting
recordset as an object and calling values from it that
way. Some of the criteria never changes and as such does
not represent a problem. However, criteria that does
require to be inputed by the user, i.e. date range, causes
an error when I put the criteria in the query. My
questions is simply, how do I pass parameters to a pre
existing query that the user imputs when the code is
executed?
To manipulate the data, I am using the queries resulting
recordset as an object and calling values from it that
way. Some of the criteria never changes and as such does
not represent a problem. However, criteria that does
require to be inputed by the user, i.e. date range, causes
an error when I put the criteria in the query. My
questions is simply, how do I pass parameters to a pre
existing query that the user imputs when the code is
executed?