Path: csiph.com!usenet.pasdenom.info!news.albasani.net!news2.arglkargh.de!news.karotte.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "Er!k \\/!$$Er" Newsgroups: comp.lang.clipper.visual-objects Subject: Re: Is this a bug? Date: Tue, 19 Jun 2012 11:53:32 +0200 Lines: 36 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Trace: individual.net w4vDRfrORWbh+MH4MjsuogQontkGUx6zre88erYituAE8WN+JmezdLxrRkTeS+YZRW Cancel-Lock: sha1:9qF3DoEih9yJhA+YB+YQST6YsO0= In-Reply-To: X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Newsreader: Microsoft Windows Live Mail 15.4.3555.308 X-MimeOLE: Produced By Microsoft MimeOLE V15.4.3555.308 Xref: csiph.com comp.lang.clipper.visual-objects:3632 Hi Martin, No, it is not if you are just passing a string with the name of the server. Erik "Martin" schreef in bericht news:wrXDr.119991$2l2.9462@fx01.am4... Bit of a pain though when the server is from a parent!!!! On 18/06/2012 13:57, Er!k \/!$$Er wrote: > Martin, > > No, this is no bug at all, this is the prefered behaviour. > You pass the servername and the form instantiates a new dbServer object. > Form closed, so the dbServer is closed also. > > But in case you want the share a dbServer from the ownerwindow, you > better pass the serverobject. > SELF:Use( SELF:Owner:Server ) > > hth > > Erik > > > > > "Martin" schreef in bericht news:k_BDr.144345$kM1.10171@fx18.am4... > > Got a pop up screen does Self:Use(Self:Owner:dbServername) > > When the screen closes the file is closed, why? > > I did not say close in the close routine.