Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help with NeedUpdate()
Message
De
31/10/2002 14:41:06
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Stonefield
Titre:
Help with NeedUpdate()
Divers
Thread ID:
00717506
Message ID:
00717506
Vues:
66
As a very new user of SDT 6.0c, I started with the Quick Start Guide verbatim and installed it into a local app. After opening my DBC, setting environment stuff, and loading my top level form, I do the following from my main.prg:
ometa = NEWOBJECT('DBCXMgr', 'DBCXMGR.VCX', '', .F., 'c:\pos\data')
ometa.setdatabase(DBC())
IF ometa.osdtmgr.needupdate()
  ometa.osdtmgr.UPDATE()
ENDIF
right before my READ EVENTS and it works great - too great. Every time the app starts, I get the "Checking tables" progress bar, followed by the "Updating tables' progress bar. Why does SDT think my tables need updating at every run?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform