Re: TZF - How to set excllusive in Run time?

Marie Vihonsky <[email protected]>
Newsgroups gmane.comp.lang.delphi.topaz
Message-ID <[email protected]>
Make the database 'Active' before setting the Exclusive
Be sure you don't have 'active = true' in the Object Properties.

[email protected] wrote:
> 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
==^================================================================
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.