Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Application writing on a .dct file
Message
From
28/06/1999 12:52:15
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00234249
Message ID:
00234827
Views:
25
>Hi Ed,
>
>Is there someway to clean unreferenced information in the dct? We are using Stonefield, but that seems to primarily deal with the structure of the dbc and not the content of the fields. I tried opening the dct through vfp, but it did not like that. Do I need to view the dct data through the memo fields of the dbc?
>

Since virtually all the data is in the memo fields, and the .DCT is where the memo data resides, your best bet is to open the .DBC as a table exclusively, and then pack it and the memo fields (make sure you have backups of the DBC first, of course.) If you have a DBC called MyDB.DBC, try:

CLOSE DATABASE ALL
USE MyDB.DBC EXCLUSIVE
PACK
PACK MEMO
USE
FLUSH
OPEN DATABASE MyDB

and then call the SDT method to validate and update the DBC from the metadata.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform