>Is there any way to show a prograss bar while creating an index file (.idx)? I'm pulling data from a DBF which is created by a third party product and has no index. When my app starts it creates an index using "index on myfield to myfile.idx". While my program is indexing all it shows is the records counting in the status bar. Is there anyway to show a progress bar when indexing?
In addition to what Craig replied, you can define a window then SET TALK WINDOW WindowName. Bracket your INDEX command with SET TALK ON and SET TALK OFF. This will direct the indexing count to the window. With a little tweeking, this can look quite nice. You can also output the Table name and index number of total indexes to this window as well. When done, just release that window and make sure you return SET TALK to whatever it was before you messed with it -- lcOldTalk = set('talk') at the beginning, then SET TALK &lcOldTalk when finished.
Mark McCasland
Midlothian, TX USA