Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Updates are happening every time instead of when necessary.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Stonefield
Titre:
Updates are happening every time instead of when necessary.
Divers
Thread ID:
00392465
Message ID:
00392465
Vues:
43
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform