Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Osdtmgr does not appear to instantiate
Message
From
01/12/2003 15:05:30
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Stonefield
Title:
Osdtmgr does not appear to instantiate
Miscellaneous
Thread ID:
00854801
Message ID:
00854801
Views:
95
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
Next
Reply
Map
View

Click here to load this message in the networking platform