Kevin Robson
Registered User.
- Local time
- Today, 21:13
- Joined
- Feb 4, 2004
- Messages
- 12
I am new to Access and I am creating a small programme that puts an incremental bar on the screen showing the progress of a database import.
The progress bar works OK when tested with a simple loop to simulate the data import, but I seem unable to get the program to respond to clicking on a 'Cancel' button to abort the import.
The button will not respond until the loop has terminated naturally. i.e. it accepts the mouse click and only acts upon it at the end of the loop.
Any ideas on how I can get it to respond immediately, so stopping the import part way through?
Any hep would be most appreciated.
The progress bar works OK when tested with a simple loop to simulate the data import, but I seem unable to get the program to respond to clicking on a 'Cancel' button to abort the import.
The button will not respond until the loop has terminated naturally. i.e. it accepts the mouse click and only acts upon it at the end of the loop.
Any ideas on how I can get it to respond immediately, so stopping the import part way through?
Any hep would be most appreciated.