Hi All
I've got a form that has a quite complex recordsource (calculated fields). A couple of fields specifically make for very slow filter/sorts.
When a user closes the form, it saves the last used filter - this can make the form very slow (and seem crashed) when the next user opens it.
I have already created a custom close button, and disabled the default to one that uses acSaveNo- this works fine. However, if the user closes Access (not just the form) or shuts down windows then the changes to the filter are saved.
I have tried:
Reset the orderby in OnOpen and Onload (failed - still applies sort order first)
Reset the Orderby onClose and onUnload, so that a empty string is saved (failed - does not save emptly string, still saves last change)
Reset for using another form when database opens (failed - cannot access properties when form is closed)
Has anyone found a way to prevent a sortby applying on open, or prevent a changed sortby from being saved?
Yours Frustratedly
SeeThru
I've got a form that has a quite complex recordsource (calculated fields). A couple of fields specifically make for very slow filter/sorts.
When a user closes the form, it saves the last used filter - this can make the form very slow (and seem crashed) when the next user opens it.
I have already created a custom close button, and disabled the default to one that uses acSaveNo- this works fine. However, if the user closes Access (not just the form) or shuts down windows then the changes to the filter are saved.
I have tried:
Reset the orderby in OnOpen and Onload (failed - still applies sort order first)
Reset the Orderby onClose and onUnload, so that a empty string is saved (failed - does not save emptly string, still saves last change)
Reset for using another form when database opens (failed - cannot access properties when form is closed)
Has anyone found a way to prevent a sortby applying on open, or prevent a changed sortby from being saved?
Yours Frustratedly
SeeThru