the query itself must be able to take parameters, then you would need to initiate a querydef object, bound the object to the query, and then you can access the parameters collection within the querydef object...
--------------------
Procrastinate Now!