Hi I have a small problem and I can't solve it so Iwould really appreciate any help. I am creating a query on the "fly" in VBA. The date is the variable stored in Tempvars. I create the Tempars as follows:
Tempvars.Add "tvStartDate",strStartDate. How do I express that in the Query Designer? I haveentered Tempvars("tvStartDate") but it says incorrect string. I have tried =Tempvars("tvStartDate") and get the same result? I get the strStartDate by either user input or from text box on form and it is valid in debug.print