>Hi,
>I use timer to navigate the records flow displayed on textboxes where they are read by a microsoft agent, but I am stuck to solve the problem of stopping the timer when the record has reached its last so the result is that the agent keeps reading the last one.How to stop the timer when records have reached the last? Thank you.
>
>Regards
>
>Syah N
When the desired condition is reached, set Timer.Enabled = .F.
The condition itself is a little more complicated. recno() # reccount() is not reliable, since the last record may be deleted, the records may be indexed, or a filter may be set.
I think the only reliable way to see if you are on the last record is to do a skip, and see if you are on EOF(). Then go back to the record that was previously selected.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)