>In VFP 5.0 is it possible to pgogrammatically write to a table header's back link information, and/or the DBC's forward link information.
>
>Eg. If I wish to have the user select a table location at runtime, (with the runtime module, not full VFP) how do I pass the instructions to the database & table to create this link. I've been using the 'ADDTABLE' command, and seem to be having some problems in the field. Just wondered if there was a means of directly accessing the headers.
-Backward link data is in the header, after header record terminator (0x0D - 263 bytes space).
You could change with lowlevel FP commands.
-Forward link is in related record's (tablename) "property" field.
You could change with replace
ie: Fwlink "replace property with stuff(property, at(oldpathanddbf,property),len(oldpathanddbf),newpathanddbf)
But you would need exclusive access.
Cetin