Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Stonefiled and MMortals Update not locating Database.
Message
 
 
To
05/02/2003 10:42:00
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00748479
Message ID:
00751569
Views:
26
By default, SDT is designed to instanciate in its own private DS so its meta data tables are protected. I would add 1 additional line to see if that resolves your problem:
IF THIS.OpenDefaultDatabase()
   IF THIS.PARENT.oMeta.SetDatabase(DBC())
      IF THIS.PARENT.oMeta.oSDTMgr.NeedUpdate()
         THIS.PARENT.oMeta.oSDTMgr.UPDATE()
      ENDIF
   ENDIF
   && THIS.CloseDefaultDatabase() && why is this needed???
ENDIF
I would also look through the code in the OpenDefaultDatabase method to see if the SetDatabase method in SDT is being called. Also, keep in mind that I am not using MM, so I am speculating what you rally need to do, but the SETDATABASE method call establishes in SDT what DBC to use.
Mark McCasland
Midlothian, TX USA
Previous
Reply
Map
View

Click here to load this message in the networking platform