Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Updates are happening every time instead of when necessary.
Message
General information
Forum:
Visual FoxPro
Category:
Stonefield
Title:
Updates are happening every time instead of when necessary.
Miscellaneous
Thread ID:
00392465
Message ID:
00392465
Views:
47
Why would the update be happening on every load of the application?

PUBLIC oMeta

oMeta = NEWOBJECT('DBCXMgr', 'dbcxmgr.vcx','',.f.)
IF VARTYPE(oMeta) = 'O' AND NOT ISNULL(oMeta)
OPEN DATA charges SHARED
oMeta.SetDataBase(DBC())
IF oMeta.oSdtMgr.NeedUpdate('CHARGES!ALL')
oMeta.oSdtMgr.Update('CHARGES!ALL')
ENDIF

OPEN DATA appdata SHARED
oMeta.SetDataBase(DBC())
IF oMeta.oSdtMgr.NeedUpdate('APPDATA!ALL')
oMeta.oSdtMgr.Update('APPDATA!ALL')
ENDIF
ELSE
WAIT WINDOW 'The application will now be shut down because the meta data object could not be created.'
ENDIF
Thanx,
Bill Elvin
Next
Reply
Map
View

Click here to load this message in the networking platform