Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

At 04 DEC 1998 09:44:18PM Andre wrote:

We have a client that would like to have a menu item that the users can use to update a single index. They currently have the APPMAIN menu on their applications' main menu but this can obviously lead to trouble. What I need to do is create some type of procedure to do the equivalent of selecting the menu items ,"DB Admin" ] "Indexes" ] "Update" ] "Rebuild Indexes for one or more colums" via a new menu that will start procedures to update one indexed field in one specific table.

Is this possible?

Any help will be greatly appreciated.

André

[email protected]


At 04 DEC 1998 10:02PM Matt Sorrell wrote:

Use message boxes or popups or whatever to gather the appropriate table and column information, and then call INDEX.FLUSH.

It's not that hard to do.

I'm assuming you have a relatively small list of tables that are indexed and their columns, so that could be hard coded, or stored in a table.

If not, I'm not sure how to collect indexing information programatically, but I'm sure it can be done.

Matt Sorrell


At 05 DEC 1998 01:57AM André wrote:

Thanks Matt. I had seen the Index.Flush command before but for some reason skipped by it. Appreciate the help.

André

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/0e98c53b7e79788e852566d1000f0b03.txt
  • Last modified: 2023/12/28 07:40
  • by 127.0.0.1