I am trying to pass a parameter to a query and it won't take it. I am using this line to do it: DoCmd.SetParameter "[Last Date]", StrDate
Where strDate is the variable in string form. I have tried using a date value and neither affects the query at all. It just ignores it. If I run the query from the access interface it accepts the parameter when I type it in. Am I doing something wrong?