>>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
Thanks, I believe you've given me exactly what I needed. Will let you know how it works.
Jim
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only