Index corruption - Clipper

This is a discussion on Index corruption - Clipper ; Does opening database with READONLY option affects on decrease of index corruption cases ? Thanks Milomir Zecevic...

+ Reply to Thread
Results 1 to 7 of 7

Index corruption

  1. Default Index corruption

    Does opening database with READONLY option affects on decrease of index
    corruption cases ?

    Thanks

    Milomir Zecevic



  2. Default Re: Index corruption

    hi,

    >Does opening database with READONLY option affects on decrease of
    >index corruption cases ?


    sample ?

    greetings by OHR
    Jimmy



  3. Default Re: Index corruption

    Milomir

    > Does opening database with READONLY option affects on decrease of index
    > corruption cases ?


    If you open the DBF readonly then the indices are also opened readonly.
    You CANNOT update any DBF/INDEX if it's open readonly - so there is no chance of
    corruption.

    IIRC if you try you'll end up at the DOS prompt (if you don't have an error
    handler in place that is<g>)

    HTH
    Steve



  4. Default Re: Index corruption

    Thanks Steve, I think that's the right answer.
    The same application on the some places reports index corruption on about
    one or two weeks. On the other places everything is OK. I'll try with
    opening DBF's via READONLY on every place in program that does not changes
    DBF.




  5. Default Re: Index corruption

    Milomir

    > I'll try with opening DBF's via READONLY on every place in program that does
    > not changes DBF.


    You won't be able create new or temporary indices if you open DBFs readonly
    either.

    HTH
    Steve



  6. Default Re: Index corruption

    hi,

    >The same application on the some places reports index corruption on
    >about one or two weeks. On the other places everything is OK. I'll try with
    >opening DBF's via READONLY on every place in program that does not
    >changes DBF.


    did you allways open DBF with all Index files ?
    did your Index file have the same Date/Time stamp ?

    greetings by OHR
    Jimmy



  7. Default Re: Index corruption


    Try linking in CPMI.LIB
    Is your file handle sufficient?. FILES=125

    Benny


+ Reply to Thread

Similar Threads

  1. Replies: 3
    Last Post: 10-31-2008, 02:32 AM
  2. index corruption dbfntx
    By Application Development in forum xharbour
    Replies: 5
    Last Post: 09-22-2007, 05:00 PM
  3. converting selected col index of jtable to its model's col index
    By Application Development in forum Java
    Replies: 1
    Last Post: 04-01-2007, 12:20 PM
  4. index corruption dos/clipper harbour/linux
    By Application Development in forum Clipper
    Replies: 3
    Last Post: 11-29-2005, 04:53 AM
  5. Increasing the frequency with which Index Server updates it's index
    By Application Development in forum Inetserver
    Replies: 3
    Last Post: 02-04-2005, 06:52 AM