I have a simple form that allows the user to loop through all records in a table.
On each iteration there are calls to a function.
The calls are being made from text boxes.
It all works fine until I get to the end of the table when an empty set of values is passed to the function and then it crashes.
I understand why it crashes but I'm don't know what approach to use to prevent it calling the function when the EOF is reached.
Can I keep using the "standard" MS Access navigation buttons on the form or do I need to set up my own iteration controls and somehow test for end of file on each iteration?
Any help would be greatly appreciated.