You're using the Query Designer to edit a query, but the object from which the Query Designer was launched is no longer open. You can save the query (as a .dtq file) before closing the Query Designer. If you don't, the query information will be lost.
For more information on the Query Designer, see Query Designer.