
10-09-2000, 04:35 AM
|
 |
Code Meister
Retired Moderator * Guru *
|
|
Join Date: Aug 2000
Location: Vancouver, BC, Canada
Posts: 10,441
|
|
Re: Program not ending
|
The data report must be spawning a process which runs in a separate thread. This thread is keeping your program loaded, even when all forms are unloaded.
I don't use the data report but there must be a way to tell when it is finished an operation. I suggest you don't allow unloading until it is done. Alternatively, you can always put an END command in the unload event of your main form, but that is not always the best idea.
"I have a plan so cunning you could put a tail on it and call it a weasel!" - Edmund Blackadder
|
__________________
"I have a plan so cunning you could put a tail on it and call it a weasel!" - Edmund Blackadder
|