Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #13327

Re: help

Path csiph.com!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From "Wolfgang Riedmann" <wriedmann@gmail.com>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: help
Date Tue, 15 Jun 2021 06:54:24 +0200
Lines 47
Message-ID <iiqq42F4kpbU1@mid.individual.net> (permalink)
References <4c7b6927-d9f3-45ec-8421-20f57891c17dn@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
X-Trace individual.net 1Y+RICihkI+QXNTHehHNAQ6piGnmZszzCZZ94Qp+x8OJT3MrI=
Cancel-Lock sha1:SjQHRvq6qzoMPJBfL2tjI6koc9Y=
User-Agent XanaNews/1.18.1.6
Xref csiph.com comp.lang.clipper.visual-objects:13327

Show key headers only | View raw


Buon giorno Aurora,

AFAIK you need to open a DBF in exclusive mode do execute the Zap()
method.
I suspect that there is another instance open that does not permit to
execute thzap operation.

You should make sure that the SubDataWindow is closed and cleaned up.
More than using a :Destroy() call on it I would null it out and issue a
CollectForced() call.

Wolfgang


aurora baccio wrote:

> Good morning and good Sunday
> I cannot close an archive (ProvPres.dbf) .
> For other archives I use :
> oInError := InError{,false}
> .......
> oInError:Close()
> 
> end of the procedure
> 
> oIrror := InError{,false}
> oInError:Zap()
> oInError:Close()
> 
> The Archive that I can't close feeds a subdatawindow contained in a
> datadialog and all the data that the user has to check arrives. If
> everything is correct it proceeds and then :  oProvPres{}:Close()
> .........  .ProvPres := oProvPres{,false}
> oProvPres:Zap()
> oProvPres:Close()
> 
> self:Destroy()
> I restart the activity assuming that the ProvPres.dbf archive has
> been reset.  I notice that this procedure does not work, the archive
> remains open with the data of the previous operation.  I ask for help.
> Thanks
> Aurora Baccio



-- 

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

help aurora baccio <aurorabaccio@gmail.com> - 2021-06-12 23:38 -0700
  Re: help "Wolfgang Riedmann" <wriedmann@gmail.com> - 2021-06-15 06:54 +0200
    Re: help aurora baccio <aurorabaccio@gmail.com> - 2021-06-15 12:06 -0700
      Re: help JohnMartens <martens@tennishulp.info> - 2021-06-15 22:03 +0200
      Re: help "Wolfgang Riedmann" <wriedmann@gmail.com> - 2021-06-16 09:08 +0200

csiph-web