Board index » delphi » Detaching dBASE index files

Detaching dBASE index files

When opening a dBASE table using BDE Administrator or Database Desktop,
if the index (MDX) file is missing one is given the opportunity to
Open the table, but DETACH the index.

What is the name of the Delphi method / procedure that accomplishes
this detachment?

Thanks.

 

Re:Detaching dBASE index files


Fred

You can see an example for this at
http://www.inprise.com/devsupport/bde/bdeapiex  look for the
DbiRegisterCallback example.

What really happening is the file header byte is being reset to 0h at
position 28 (? or thereabouts)

You can find other posts about this by looking for keywords "detach index"
or close in DejaNews.

Rick

Quote
Fred Ingram wrote in message <35B8AA54.3...@execulink-invtry.co.uk>...
>When opening a dBASE table using BDE Administrator or Database Desktop,
>if the index (MDX) file is missing one is given the opportunity to
>Open the table, but DETACH the index.

>What is the name of the Delphi method / procedure that accomplishes
>this detachment?

>Thanks.

Other Threads