Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SDT NeedUpdate/Update not working at client machine
Message
From
31/05/2001 14:06:46
 
 
To
31/05/2001 12:34:15
General information
Forum:
Visual FoxPro
Category:
Stonefield
Miscellaneous
Thread ID:
00432554
Message ID:
00513309
Views:
11
Hi Neil.

> Hmmm - this still isn't clear in my mind (also a newbie). Are you saying that I should resupply to the client the database container (DBC, DCX & DCT), (but not the tables) plus the new metadata (CoreMeta and SDTMeta) and then do an Update()? won't VFP complain about the desynchronisation of container with tables?

Yes.

> I deleted all appropriate index references (clients.deleted, invoices.deleted etc.), both from coremeta and sdtmeta, and then called the Update() method. No change to the database.

SDT considers the DBC to be an integral part of the complete meta data. So, simply changing COREMETA and SDTMETA won't remove the indexes; you have to do remove the indexes from the DBC as well. The easiest way to do that is to remove the tags as you normally would (such as with DELETE TAG or the Table Designer), then validate the SDT meta data, or you can use SDT's Extended Table Designer to do it. Then when you use Update() on the client's tables, those tags will be removed.

That said, you can actually change the contents of COREMETA and SDTMETA as you did and have SDT remove the tags by calling the Reindex method and pass .T. for the third parameter. This tells SDT to ignore the DBC and reindex the tables completely from the meta data tables.

Doug
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform