References to the active query mean active in the MDI sense. Query menu commands apply to the window which has or last had the input focus.