Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to delink the database from a bound l\table
Message
De
04/08/1998 09:44:36
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
02/08/1998 11:21:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00123268
Message ID:
00123762
Vues:
17
>>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform