Board index » delphi » Indexes : creating indexes after using Batchmove(batcopy)

Indexes : creating indexes after using Batchmove(batcopy)

Hello,

I'm using a Batchmove to create a copy of a table. The problem is that the
indexes are not created in the new table. (Batchmove does not copy meta data
like indexes,etc when using batCopy). How do I copy the index definitions to
the new data and make sure the index exists and is valid ????

Thank you,

    Raf Paredis

 

Re:Indexes : creating indexes after using Batchmove(batcopy)


Quote

>I'm using a Batchmove to create a copy of a table. The problem is that the
>indexes are not created in the new table. (Batchmove does not copy meta data
>like indexes,etc when using batCopy). How do I copy the index definitions to
>the new data and make sure the index exists and is valid ????

Use dbiCopyTable instead of a batch move
There is an example in BDE32.hlp

--
Brian Bushay (TeamB)
Bbus...@DataGuidance.com

Other Threads