I am wanting to use a query like a stored procedure and pass it variables on the fly using VBA. In the past I have assigned the variable to some sort of input control to get the information, but I don't want to hardcode that object into the query. I wan't to pass it the information when I call the query. Can this be done in Access 97?