Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SDT, Visual Extend and free tables
Message
From
15/01/2001 16:37:02
 
 
To
15/01/2001 13:44:04
General information
Forum:
Visual FoxPro
Category:
Stonefield
Miscellaneous
Thread ID:
00463290
Message ID:
00463950
Views:
17
Doug;
I am using Visual Extend which I assume was calling Update correctly. :) It is calling it like:

PUBLIC oMeta
oMeta=CREATEOBJECT("DBCXMgr",.F.)
oMeta.SetDatabase(DBC())
oMeta.ldebugmode = .F.
IF lnhowmany > 0 OR lnewinstall
IF oMeta.osdtmgr.needupdate()
WAIT WINDOW "Update ... " NOWAIT
oMeta.osdtmgr.UPDATE()
ENDIF
ENDIF


That being said, I have changed the tables from free tables to tables within the DBC as I don't see a problem with doing so at this time. I will change the Update statement to the correct usage for the newest SDT.

Thanks.

Sandi.




>>when I try to update the application executable, the free tables are not getting the new fields.
>
>Are you calling Update with the correct parameters? If you use oMeta.SetDatabase to tell SDT to use a particular DBC, Update will ignore free tables. To tell it to handle free tables, call it as follows:
oMeta.oSDTMgr.Update("!ALL")
The fact that nothing preceeds the ! tells SDT that you're referring to free tables.


>
>Alternatively, if you have the latest version of SDT, you can use a single command to handle tables in a DBC and free tables at the same time:
oMeta.oSDTMgr.Update("ALL!ALL")
Doug
Previous
Reply
Map
View

Click here to load this message in the networking platform