Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Osdtmgr does not appear to instantiate
Message
 
 
À
01/12/2003 15:05:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Stonefield
Divers
Thread ID:
00854801
Message ID:
00854851
Vues:
27
>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

Check for error information in the oMeta.aErrorInfo [array] property.
Mark McCasland
Midlothian, TX USA
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform