Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Osdtmgr does not appear to instantiate
Message
De
01/12/2003 15:05:30
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Stonefield
Titre:
Osdtmgr does not appear to instantiate
Divers
Thread ID:
00854801
Message ID:
00854801
Vues:
96
I have an application that I want to use Stonefield to reindex my tables programmatically. The program recreates the DBC and tables from a gendbcx program, appends data into the new tables and then reindexes them.

The below listed code is what I call for the reindex but I receive an error that says "unknown member osdtmgr" when I call it from the program. Reading the Stonefield docs the dbcxmgr is supposed to automatically instantiate the sdtmgr class.
open database lcTheWorkDir+"\"+"LW"
SET CLASSLIB TO DBCXMGR additive

oMeta = newobject('DBCXMgr', 'DBCXMGR.VCX')
oMeta.SetDatabase(dbc())
oMeta.oSDTMgr.lQuiet = .T.
oMeta.oSDTMgr.Reindex('ALL', .T.,.T.)
Anyhelp is appreciated.

TIA,
Wayne Frenck
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform