Board index » delphi » Tutility: after rebuild no index operations possible?

Tutility: after rebuild no index operations possible?

Hi,

I have a weird problem with TUtility 2.52:

Taking a "good" table and rebuilding it deletes _all_ secondary
indexes (which are fine, BTW). Why? - I can live with that, but:

After a rebuild operation I can use neither dbiAddIndex NOR
TTable.AddIndex; I always get BDE error 12040 (to which I do not have
a written explanation...). WHY am I not able to work in indexes any
more?

To sum up:
Why does TUtility always delete my secondary indexes?
Why am I not able to add a (secondary) index after a rebuild?
What is BDE error 12040?

I am using TURebuild like this:
  TUInit
  TURebuild ( -> structure retrieved by TUVerify )
  TUExit
There are no other BDE/IDAPI or Tutility calls...

TIA Stefan
--
Stefan Hoffmeister                       Stefan.Hoffmeis...@Uni-Passau.de
University of Passau, Bavaria, Germany

 

Re:Tutility: after rebuild no index operations possible?


On Sun, 06 Oct 1996 14:37:01 GMT, Stefan.Hoffmeis...@Uni-Passau.De

Quote
(Stefan Hoffmeister) wrote:
>Hi,

>I have a weird problem with TUtility 2.52:

>Taking a "good" table and rebuilding it deletes _all_ secondary
>indexes (which are fine, BTW). Why? - I can live with that, but:

>After a rebuild operation I can use neither dbiAddIndex NOR
>TTable.AddIndex; I always get BDE error 12040 (to which I do not have
>a written explanation...). WHY am I not able to work in indexes any
>more?

I hate following up on my own posting but:

It seems as if TTable.Create ACCEPTS an index with the option
[ixDescending] and AddIndex does not...

Also, if a table's secondary index includes the option [ixDescending]
a whole lot of things go wrong...

That leaves the question why creating a table with this option does
not raise an exception (nor is this stuff documented)... Borland, are
you listening?
--
Stefan Hoffmeister                       Stefan.Hoffmeis...@Uni-Passau.de
University of Passau, Bavaria, Germany

Other Threads