Details of Query Unload.
QueryUnload provides the UnloadMode of a form– the way in which the form is closed, i.e. by close button, by user initiated method, or by OS