Board index » delphi » Changing table level of a DBF table in Delphi 5

Changing table level of a DBF table in Delphi 5

Hi,

I would like to add an Index to a DBF File, but when I use DbiAddIndex, I
get an error (Table level has changed).

How can I change the table level ?
I tried dbidorestructure, but it didn't works ....

Thanx.

 

Re:Changing table level of a DBF table in Delphi 5


On Wed, 27 Dec 2000 15:10:16 +0100, "Yves Godart" <goda...@brutele.be>
wrote:

Quote
>I would like to add an Index to a DBF File, but when I use DbiAddIndex, I
>get an error (Table level has changed).

Can you show us the code you use to add the index?  Why not use
TTable.AddIndex?

Jan

Other Threads