I just worked something out. Doesn't seem like the best solution yet so i'd still love ideas. I'm concerned about temporary objects now in my project. I think i'll need to compact often now. Any ideas other than:
dbs.CreateQueryDef QueryName, QuerySQL
And then on report_close...