RE: TZF - How to set excllusive in Run time?
DeMoville_Brent <[email protected]>
| Newsgroups | gmane.comp.lang.delphi.topaz |
|---|---|
| Message-ID | <[email protected]> |
Abi: I have to do the same thing in my environment and I find the issue to be that you can't make the database exclusive if any other users have it open. You will need to establish a process to ensure that others are logged off before you set exclusive. If you are in a Novell environment, the utility "Whohasit" is useful to identify who has the file open. It also gives the administrator the ability to "kick" the person off so that exclusivity can be achieved, Brent -----Original Message----- From: [email protected] [mailto:[email protected]] Sent: Friday, April 25, 2003 8:14 AM To: [email protected] Subject: TZF - How to set excllusive in Run time? Hi there: I have a database file which needs to be non-exclusive. Could any one advise me how to zap it? According to the Technical reference I have to mydbf.active:=false; mydbf.exclusive:=true; mydbf.active:=true; <---Will get Error#32 File sharing violation if not(mydbf.zap) then.... It works if I set the Exclusive property to true at design time. But I need it to be non=exclusive false for other functions. Could any one help? I am using Topaz 7.51 with Delphi 5. Best Regards Abi ==^================================================================ This email was sent to: [email protected] EASY UNSUBSCRIBE click here: http://topica.com/u/?clvXPN.a5kvff.Z2NsZHQt Or send an email to: [email protected] TOPICA - Start your own email discussion group. FREE! http://www.topica.com/partner/tag02/create/index2.html ==^================================================================