Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help with NeedUpdate()
Message
From
31/10/2002 14:41:06
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Stonefield
Title:
Help with NeedUpdate()
Miscellaneous
Thread ID:
00717506
Message ID:
00717506
Views:
64
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?
Next
Reply
Map
View

Click here to load this message in the networking platform