Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to delink the database from a bound l\table
Message
From
04/08/1998 09:44:36
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
02/08/1998 11:21:56
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00123268
Message ID:
00123762
Views:
18
>>Satya ---
>>
>>
>>I am assuming that there are no 10+ character field names or triggers or other DBC specific stuff for the tables? If this is so, you can open the .DBC as a metadata table and delete the records. Delete where objecttype = Table and Objectname = "tablename" ... also delete all where parentid = parentid for the table record. This should work.
>>
>>
>
>This will work for the dbc side of things, but a dbf that belongs to a database also has a link to the database with a relative path. That's why you don't have to OPEN DATABASE to use rules and other extended information when you USE the table.

The backlink is just after the end of the standard .dbf header, i.e. after the description of the last field. Its position is header() - 512 (or -256, look at the hex dump and you'll find it). To distroy the backlink, just replace it with nulls. Backup first, both the table and the database :)

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform