1. To Avoid Warnings, If you put your query in a Macro and before OpenQuery, you put Action: SetWarnings, Warning On: NO
2. Maybe you can change query to not use that form parameter. Since if that form not open, it means you do not need that forms parameter really. That forms parameter should...