Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Stonefield Update.prg is not update after upgrade to 5.1
Message
From
06/07/2001 14:00:59
 
 
General information
Forum:
Visual FoxPro
Category:
Stonefield
Miscellaneous
Thread ID:
00526754
Message ID:
00527558
Views:
20
Rick ,
This is the code I am using

set path to data, c:\stonefield\,c:\stonefield\source, c:\stonefield\dbcx
set classlib to dbcxmgr
release oMeta
public oMeta
oMeta = createobject('MetaMgr')

if type('oMeta') # 'O' or isNull(oMeta)
=Messagebox('unable to instantiate MetaMgr class.')
return .F.
endif

if not oMeta.oSDTMgr.OpenData('\test\client\data2')
=Messagebox('Unable to open the database.')
return .F.
endif

if not oMeta.oSDTMgr.OpenAllTables()
=Messagebox('Unable to open one or more tables.')
return .F.
endif


close database
open database \test\client\data2 exclusive
oMeta.oSDTMgr.Reindex()
op=oMeta.oSDTMgr.NeedUpdate()
?op
oMeta.oSDTMgr.Update()
close all
return

Thanks
Previous
Reply
Map
View

Click here to load this message in the networking platform