Normally filter in datasheet works correctly: the Form_Current event give me the possibility to know the new selected current record.
But when filter "delete" all records (there is 0 record in datasheet), no event is sended.
Then my system stays in the same state than before filtering... that is VERY bad.
Unfortunatly Form_ApplyFilter is sended before filtering.
Then it is possible to start, in Form_ApplyFilter event, a timer to check datasheet state in 1 (or more) seconds, but filter duration is not predictable and so cannot work.
Is there a possibility to detect the end of a filter processus ?
Or to detect that no record is selected ?
Thanks
But when filter "delete" all records (there is 0 record in datasheet), no event is sended.
Then my system stays in the same state than before filtering... that is VERY bad.
Unfortunatly Form_ApplyFilter is sended before filtering.
Then it is possible to start, in Form_ApplyFilter event, a timer to check datasheet state in 1 (or more) seconds, but filter duration is not predictable and so cannot work.
Is there a possibility to detect the end of a filter processus ?
Or to detect that no record is selected ?
Thanks