Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Backlink & forward link
Message
De
27/02/1998 12:21:15
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00081687
Message ID:
00081724
Vues:
19
>>>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
Jim,
I already know it works. Major drawback is exclusive need access to the table (for blink) and to Dbc (for flink). I use it for a very old project where tables with same name&struc, scattered to different dirs and I wanted to add extended props via dbc. I would send the code but hard to locate for now.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform