You can make your application know when it has ended abnormally...for example, when each user goes into the program you can write a little file (semaphore) to the disk, and delete it when the program exits normally. You can figure out who is the most offensive party *grin*, and have the system rebuild all indexes if it detects an abend.
That'll teach em :)
>
>I understand that in the some dream world, the users will never shut off their computers. I guess what I'm trying to do is react when they do turn off their computers or when there is a power outage or some other event that causes index corruption.
Steve Gibson