>I would like to pack database which use for sharing. I let program to pack every 1st of month. I would like the last user who quit program change exclusive to on automatic for using "Pack" cammand. How can we write the program to protect and check to open "Exclusive on or off" or whick command for checking the numbers of user who are using the program.
> From NO.
There is a document on my web site that discusses limiting simultaneous logins. You could use the same method to determine the last person out and then PACK. It is available at
www.xmission.com/~craigb.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer