Information générale
Titre:
Smarter Reindex Form
I'm a new user to SDT, so of course I want to change everything. In an effort to try and not confuse my 'smarter' users, I thought I'd try to create a reindex form that only presents the tables that actually have indexes to recreate.
Is there a DBCXGetProp() way to determine whether a given table has an index? I considered writing a 'private' method to just check the STDMeta.DBF for RecType = 'I' and ObjectName = '{tablename}', but figured there ought to be a more official way to do this. Note: Because this is a legacy application, most of the tables don't have a primary key index.
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement