This isn't really a technical question about Access, but more about design philosophy.
I have a fairly standard setup, with a set of records filtered in a continuous form, and clicking on one opens a popup dialog in which the record can be edited and re-saved. All pretty vanilla. But the main recordset can be filtered, and the record selected for editing can be changed in a way that no longer meets the filter criteria. This means that upon close and requery, that record will disappear. Sometimes users want to keep the original recordset, because they are doing things like cleaning up mistakes, and the filter was set to display the records with mistakes. As they correct the mistake and save the records, they want the record to vanish – they corrected the mistake and are no longer interested in that record. Other times, they want to still see that changed record, or see a newly created one that they created using one of the filtered ones as a template, but has been changed enough that it does not match the filtering criteria. Saving and closing makes it vanish into the luminiferous ether, and finding it again is sometimes a hassle.
The two possibilities seem about evenly split as to frequency, and the only thing I have come up with to deal with it is to check the main recordset upon closing and see if the new record will be visible. If not, I pop up a dialog asking if the user wants to continue with the old recordset or switch to see the record just being saved. It works, but I don't like it. It's an extra dialog that the user has to dismiss, and since it only shows up sometimes (when the record will not be visible), it disrupts the pace of the workflow.
I'm obviously not the first person to run into this situation. Does anybody know of a clean way to deal with this?
I have a fairly standard setup, with a set of records filtered in a continuous form, and clicking on one opens a popup dialog in which the record can be edited and re-saved. All pretty vanilla. But the main recordset can be filtered, and the record selected for editing can be changed in a way that no longer meets the filter criteria. This means that upon close and requery, that record will disappear. Sometimes users want to keep the original recordset, because they are doing things like cleaning up mistakes, and the filter was set to display the records with mistakes. As they correct the mistake and save the records, they want the record to vanish – they corrected the mistake and are no longer interested in that record. Other times, they want to still see that changed record, or see a newly created one that they created using one of the filtered ones as a template, but has been changed enough that it does not match the filtering criteria. Saving and closing makes it vanish into the luminiferous ether, and finding it again is sometimes a hassle.
The two possibilities seem about evenly split as to frequency, and the only thing I have come up with to deal with it is to check the main recordset upon closing and see if the new record will be visible. If not, I pop up a dialog asking if the user wants to continue with the old recordset or switch to see the record just being saved. It works, but I don't like it. It's an extra dialog that the user has to dismiss, and since it only shows up sometimes (when the record will not be visible), it disrupts the pace of the workflow.
I'm obviously not the first person to run into this situation. Does anybody know of a clean way to deal with this?