General information
Title:
Error, How to Reindex()
Hi any SDT Aficionados, Doug,
I've got two questions about SDT 5.i:
ONE
====
I keep getting this error on frequent occasion -- occasions such as selecting ‘Tools->Stonefield Database Explorer’ with or without an open DBC().
SDT version:
Error #: 1925
Message: Unknown member OERROR.
Line #: 8
Code: .cActualProgID = .oRegistry.GetKey('CLSID\' + .cActualClassID
+ '\ProgID')
Method: getprogid
Object: frmSDT.oCommonDialogLoader.
Any clues?
TWO
====
I’ve created some metadata: opened a .DBC, then SDExplorer, ‘Yes’ to build, and then added a number of free tables. Now I find that issuing “oMeta.oSDTMgr.Reindex()” will present the Reindex dialog but it only lists the free tables included in the metadata. Weird thing too, earlier (and I don’t know how/why) “oMeta.oSDTMgr.Reindex()” would display the Reindex dialog listing only the DBC’s tables and NOT including the free tables. I was expecting all of metadata’s tables w/indexes to list.
I trying to understand the parameter usage with Reindex(). I want to issue Reindex() (no parameters) in order to present all index-able tables/views, both .DBC and free just as I find in metadata via SDExplorer.
Doesn’t Reindex() (and NeedReindex(), NeedUpdate(), Update() et at) refer to the same metadata I’m seeing in SDExplorer or wut?
Here’s MyCode:
oMeta = NewObject('DBCXMgr', 'c:\stonefield\sdt\source\dbcxmgr.vcx', '', .F., 'i:\product\bcast1\data')
oMeta.SetDatabase('i:\product\bcast1\data\bcast.dbc')
oMeta.oSDTMgr.Reindex()
Here’s MyEnvironment:
SET EXCL OFF
The .DBC and many of the tables (in .DBC and free) are currently open SHARED mode and I can’t get ‘em exclusive till Sunday. (I understand that I cannot reindex successfully until I get exclusive use.)
TIA, Steven-
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only