Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #5079
| From | Martin <spam@spam.spam> |
|---|---|
| Newsgroups | comp.lang.clipper.visual-objects |
| Subject | Re: VERY STUPID Question |
| References | <_Uzbt.9399$pP5.6468@fx24.fr7> <l6ktm85knu2d88oki04clgf6ih6ipqmndo@4ax.com> |
| Message-ID | <tdObt.9853$5w6.7572@fx05.fr7> (permalink) |
| Date | 2013-04-18 09:33 +0100 |
No it is that I open via a class the index name is different to that of the DBF. Very old file, structure is never changed since 5.2e days, last change was moving to CDX a LONG time ago. I remember finding a bug in the 5.2 CDX RDD, had to move some code to a standalone system and it crashed, had to do an emergency NTX back convert. AXS 3.x worked, 5.3 BTW worked fine. What I am doing is. Check structure Field is too short Rename file Create new with bigger field Open up using standard method Now want to close it Append in the old file. Contents should be identical apart from one field I may just modify the open method to take a flag to not open the CDX Thanks Martin -------- Original Message -------- Subject: Re: VERY STUPID Question Date: Wed, 17 Apr 2013 18:44:27 +0200 From: D.J.W. van Kooten <public@ic2remove.this.com> Organisation: IC2 Newsgroups: comp.lang.clipper.visual-objects References: <_Uzbt.9399$pP5.6468@fx24.fr7> On Wed, 17 Apr 2013 17:16:06 +0100, Martin <spam@spam.spam> wrote: >How do I close an index without closing the DBF? > Hello Martin, Nothing stupid. Anything that you don't do daily can sometimes be hard to find! See : DBServer:SetIndex() Method "If no argument is passed, all currently opened indexes are closed, and the server reverts back to sequential access based on record number (natural order). This is equivalent to ClearIndex()." The question is why you want to do that? It gives the risk that you make changes which are not reflected in the index. Do you mabe just want a Setorder(0) to have the file in natural order? Dick
Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
VERY STUPID Question Martin <spam@spam.spam> - 2013-04-17 17:16 +0100
Re: VERY STUPID Question D.J.W. van Kooten <public@ic2remove.this.com> - 2013-04-17 18:44 +0200
Re: VERY STUPID Question Martin <spam@spam.spam> - 2013-04-18 09:33 +0100
Re: VERY STUPID Question dlzc <dlzc1@cox.net> - 2013-04-18 08:03 -0700
Re: VERY STUPID Question Martin <spam@spam.spam> - 2013-04-18 16:53 +0100
csiph-web