Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #13327
| From | "Wolfgang Riedmann" <wriedmann@gmail.com> |
|---|---|
| Newsgroups | comp.lang.clipper.visual-objects |
| Subject | Re: help |
| Date | 2021-06-15 06:54 +0200 |
| Message-ID | <iiqq42F4kpbU1@mid.individual.net> (permalink) |
| References | <4c7b6927-d9f3-45ec-8421-20f57891c17dn@googlegroups.com> |
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
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