Creating Button To Reindex File in Delphi 5

Please help me. I have a program created in Delphi 5 using DBE in dBase IV
format. The index is created and the program works fine. I can put a Button
on the screen and mark it REINDEX but have no idea how to reindex the file
with Delphi code. I have purchased many books but have gotten no help.

Thanks in advance!!!