This code looks great.
I'm trying to use it, but I keep getting the error "3625 - Item not found in this collection". I have the parameter value set as "01", not "prmo", does that matter? What am I not seeing?
My code:
Set qdf = CurrentDb.QueryDefs("i_qry_446_1")
'edit your base...