Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error when rebuilding index using SDT
Message
De
19/12/2006 14:00:59
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Stonefield
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01178286
Message ID:
01178941
Vues:
21
Hi Dmitry.

>When I reindex all tables, using syntax:
>
>
>lRetVal = oMeta.oSDTMgr.Reindex("MYDATABASE!")
>
>
>and one of the indexing fails, the oMeta.oSDTMgr.cAlias shows the alias of the very last table in the list of tables and not the one that failed. Do you have any suggestions as to how to find out/report to the user which table index failed?

You'll have to reindex them one at a time, such as:
lnTables = adbobjects(laTables, 'TABLE')
for lnI = 1 to lnTables
  llReturn = oMeta.oSDTMgr.Reindex(laTables[lnI]
* handle llReturn .F.
next
Doug
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform