Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Backlink & forward link
Message
De
27/02/1998 10:58:39
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00081687
Message ID:
00081698
Vues:
17
>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
Ç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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform