How can I find out if the current form is running in query-only mode.